switch docker-compose to local build
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
weeman 2021-07-28 22:28:34 +02:00
parent 54f1c0f242
commit 5a84ba0689
Signed by: weeman
GPG Key ID: 34F0524D4DA694A1
2 changed files with 14 additions and 6 deletions

View File

@ -179,8 +179,16 @@ Für die Produktionsumgebung wird [waitress](https://docs.pylonsproject.org/proj
## Integrationsumgebung ## Integrationsumgebung
Per [`docker-compose`](https://docs.docker.com/compose/) kann eine Integrationsumgebung Per [`docker-compose`](https://docs.docker.com/compose/) kann eine Integrationsumgebung gestartet werden.
mit den neusten Ständen der Docker Images gestartet werden: Beide Projekte müssen nebeneinander ausgecheckt sein:
```
./
ki-backend
ki-frontend
```
Alles starten:
``` ```
docker-compose up docker-compose up

View File

@ -6,7 +6,7 @@ version: "3"
services: services:
ki_backend: ki_backend:
image: registry.wtf-eg.net/ki-backend:latest build: .
restart: "no" restart: "no"
ports: ports:
- "13338:5000" - "13338:5000"
@ -14,9 +14,9 @@ services:
- "./env.dev:/app/.env" - "./env.dev:/app/.env"
ki_frontend: ki_frontend:
image: registry.wtf-eg.net/ki-frontend:latest build: ./../ki-frontend
restart: "no" restart: "no"
ports: ports:
- "13337:80" - "13337:80"
environment: volumes:
VUE_APP_API_URL: http://localhost:13338 - "../ki-frontend/public/config.js.int:/user/share/nginx/html/config.js"