mirror of
https://github.com/chubin/cheat.sh.git
synced 2024-11-22 18:17:38 +03:00
docker-compose: always mount source volume
This commit is contained in:
parent
dd35bc90bb
commit
fe80c38760
@ -13,9 +13,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
FLASK_ENV: development
|
FLASK_ENV: development
|
||||||
#FLASK_RUN_RELOAD: False
|
#FLASK_RUN_RELOAD: False
|
||||||
FLASK_APP: "bin/srv.py"
|
FLASK_APP: "bin/app.py"
|
||||||
FLASK_RUN_HOST: 0.0.0.0
|
FLASK_RUN_HOST: 0.0.0.0
|
||||||
FLASK_RUN_PORT: 8002
|
FLASK_RUN_PORT: 8002
|
||||||
entrypoint: ["/usr/bin/flask", "run"]
|
entrypoint: ["/usr/bin/flask", "run"]
|
||||||
volumes:
|
|
||||||
- .:/app:Z
|
|
||||||
|
@ -10,6 +10,8 @@ services:
|
|||||||
- CHEATSH_CACHE_REDIS_HOST=redis
|
- CHEATSH_CACHE_REDIS_HOST=redis
|
||||||
ports:
|
ports:
|
||||||
- "8002:8002"
|
- "8002:8002"
|
||||||
|
volumes:
|
||||||
|
- .:/app:Z
|
||||||
redis:
|
redis:
|
||||||
image: redis:4-alpine
|
image: redis:4-alpine
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user