mirror of
https://github.com/chubin/cheat.sh
synced 2024-11-10 05:24:13 +00:00
docker-compose: always mount source volume
This commit is contained in:
parent
dd35bc90bb
commit
fe80c38760
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -10,6 +10,8 @@ services:
|
|||
- CHEATSH_CACHE_REDIS_HOST=redis
|
||||
ports:
|
||||
- "8002:8002"
|
||||
volumes:
|
||||
- .:/app:Z
|
||||
redis:
|
||||
image: redis:4-alpine
|
||||
volumes:
|
||||
|
|
Loading…
Reference in a new issue