add integration docker-compose file
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
178381b00c
commit
54f1c0f242
@ -26,9 +26,6 @@ steps:
|
|||||||
from_secret: "docker_username"
|
from_secret: "docker_username"
|
||||||
password:
|
password:
|
||||||
from_secret: "docker_password"
|
from_secret: "docker_password"
|
||||||
when:
|
|
||||||
event:
|
|
||||||
- tag
|
|
||||||
|
|
||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
- dockerconfig
|
- dockerconfig
|
||||||
|
12
README.md
12
README.md
@ -177,6 +177,18 @@ Für die Produktionsumgebung wird [waitress](https://docs.pylonsproject.org/proj
|
|||||||
[`run_prod.py`](./run_prod.py) führt die DB Migrationen aus und startet den Server.
|
[`run_prod.py`](./run_prod.py) führt die DB Migrationen aus und startet den Server.
|
||||||
|
|
||||||
|
|
||||||
|
## Integrationsumgebung
|
||||||
|
|
||||||
|
Per [`docker-compose`](https://docs.docker.com/compose/) kann eine Integrationsumgebung
|
||||||
|
mit den neusten Ständen der Docker Images gestartet werden:
|
||||||
|
|
||||||
|
```
|
||||||
|
docker-compose up
|
||||||
|
```
|
||||||
|
|
||||||
|
Dann http://localhost:13337 aufrufen.
|
||||||
|
|
||||||
|
|
||||||
## Lizenzen
|
## Lizenzen
|
||||||
|
|
||||||
Dieses Projekt erfüllt die [REUSE](https://reuse.software/) Spezifikation.
|
Dieses Projekt erfüllt die [REUSE](https://reuse.software/) Spezifikation.
|
||||||
|
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2021 WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
ki_backend:
|
||||||
|
image: registry.wtf-eg.net/ki-backend:latest
|
||||||
|
restart: "no"
|
||||||
|
ports:
|
||||||
|
- "13338:5000"
|
||||||
|
volumes:
|
||||||
|
- "./env.dev:/app/.env"
|
||||||
|
|
||||||
|
ki_frontend:
|
||||||
|
image: registry.wtf-eg.net/ki-frontend:latest
|
||||||
|
restart: "no"
|
||||||
|
ports:
|
||||||
|
- "13337:80"
|
||||||
|
environment:
|
||||||
|
VUE_APP_API_URL: http://localhost:13338
|
Loading…
Reference in New Issue
Block a user