mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 11:32:38 +02:00

* docker: using gunicorn * cleanup * Docker: many improvements, added docker-compose for development purpose * display "sesame" on docker logs * auto restart app container in case of crash * dev mode: allow user to work on source code and synchronize changes with source code in "app" service * dev mode: auto reload gunicorn workers on source code change dev mode and data persistance * Suppression log inutile Co-authored-by: CapsLock <github@legeox.net>
6 lines
238 B
YAML
6 lines
238 B
YAML
version: "3.9"
|
|
services:
|
|
app:
|
|
command: /srv/copanier-venv/bin/gunicorn -k roll.worker.Worker copanier:app --bind 0.0.0.0:2244 --reload --log-level debug --access-logfile - --error-logfile -
|
|
volumes:
|
|
- "../:/srv/copanier/"
|