forked from kompetenzinventar/ki-backend
switch docker-compose to local build
This commit is contained in:
parent
54f1c0f242
commit
5a84ba0689
12
README.md
12
README.md
@ -179,8 +179,16 @@ Für die Produktionsumgebung wird [waitress](https://docs.pylonsproject.org/proj
|
||||
|
||||
## Integrationsumgebung
|
||||
|
||||
Per [`docker-compose`](https://docs.docker.com/compose/) kann eine Integrationsumgebung
|
||||
mit den neusten Ständen der Docker Images gestartet werden:
|
||||
Per [`docker-compose`](https://docs.docker.com/compose/) kann eine Integrationsumgebung gestartet werden.
|
||||
Beide Projekte müssen nebeneinander ausgecheckt sein:
|
||||
|
||||
```
|
||||
./
|
||||
ki-backend
|
||||
ki-frontend
|
||||
```
|
||||
|
||||
Alles starten:
|
||||
|
||||
```
|
||||
docker-compose up
|
||||
|
@ -6,7 +6,7 @@ version: "3"
|
||||
|
||||
services:
|
||||
ki_backend:
|
||||
image: registry.wtf-eg.net/ki-backend:latest
|
||||
build: .
|
||||
restart: "no"
|
||||
ports:
|
||||
- "13338:5000"
|
||||
@ -14,9 +14,9 @@ services:
|
||||
- "./env.dev:/app/.env"
|
||||
|
||||
ki_frontend:
|
||||
image: registry.wtf-eg.net/ki-frontend:latest
|
||||
build: ./../ki-frontend
|
||||
restart: "no"
|
||||
ports:
|
||||
- "13337:80"
|
||||
environment:
|
||||
VUE_APP_API_URL: http://localhost:13338
|
||||
volumes:
|
||||
- "../ki-frontend/public/config.js.int:/user/share/nginx/html/config.js"
|
||||
|
Loading…
Reference in New Issue
Block a user