Installation mit docker-compose
Im Projekt Repository ist eine docker-compose.production.yml enthalten.
Konfiguration
Zunächst muss die Basiskonfiguration erzeugt werden:
shell
curl -o docker-compose.yml https://git.hack-hro.de/rokoli/parcours/-/raw/main/docker-compose.production.yml
curl -o .env.production.local https://git.hack-hro.de/rokoli/parcours/-/raw/main/.env.production
touch parcours_settings.pyAnschließend können in der .env.production.localUmgebungsvariablen gesetzt werden. In der parcours_settings.py kann außerdem die Python-Konfiguration angepasst werden.
Betrieb
Die Anwendung kann mittels docker-compose up gestartet werden und läuft anschließend auf Port 8537.