Skip to content

Commit fe80c38

Browse files
committed
docker-compose: always mount source volume
1 parent dd35bc9 commit fe80c38

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docker-compose.debug.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ services:
1313
environment:
1414
FLASK_ENV: development
1515
#FLASK_RUN_RELOAD: False
16-
FLASK_APP: "bin/srv.py"
16+
FLASK_APP: "bin/app.py"
1717
FLASK_RUN_HOST: 0.0.0.0
1818
FLASK_RUN_PORT: 8002
1919
entrypoint: ["/usr/bin/flask", "run"]
20-
volumes:
21-
- .:/app:Z

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ services:
1010
- CHEATSH_CACHE_REDIS_HOST=redis
1111
ports:
1212
- "8002:8002"
13+
volumes:
14+
- .:/app:Z
1315
redis:
1416
image: redis:4-alpine
1517
volumes:

0 commit comments

Comments
 (0)