1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-25 23:46:00 +03:00

docker-compose: always mount source volume

This commit is contained in:
Anatoli Babenia 2021-11-13 01:57:08 +03:00
parent dd35bc90bb
commit fe80c38760
2 changed files with 3 additions and 3 deletions

View File

@ -13,9 +13,7 @@ services:
environment:
FLASK_ENV: development
#FLASK_RUN_RELOAD: False
FLASK_APP: "bin/srv.py"
FLASK_APP: "bin/app.py"
FLASK_RUN_HOST: 0.0.0.0
FLASK_RUN_PORT: 8002
entrypoint: ["/usr/bin/flask", "run"]
volumes:
- .:/app:Z

View File

@ -10,6 +10,8 @@ services:
- CHEATSH_CACHE_REDIS_HOST=redis
ports:
- "8002:8002"
volumes:
- .:/app:Z
redis:
image: redis:4-alpine
volumes: