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:
parent
dd35bc90bb
commit
fe80c38760
@ -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 New Issue
Block a user