We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc5cb57 commit 0aa48bcCopy full SHA for 0aa48bc
1 file changed
docker-compose.yaml
@@ -1,25 +1,9 @@
1
services:
2
- flask-app-1:
+ flask-app:
3
build:
4
context: ./app
5
dockerfile: Dockerfile
6
image: flask-app:1.0.0
7
- container_name: flask-container-1
8
- restart: always
9
- env_file:
10
- - ${ENV_FILE}
11
- depends_on:
12
- postgres:
13
- condition: service_healthy
14
- volumes:
15
- - ./:/app
16
-
17
- flask-app-2:
18
- build:
19
- context: ./app
20
- dockerfile: Dockerfile
21
- image: flask-app:1.0.0
22
- container_name: flask-container-2
23
restart: always
24
env_file:
25
- ${ENV_FILE}
@@ -54,8 +38,7 @@ services:
54
38
volumes:
55
39
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
56
40
depends_on:
57
- - flask-app-1
58
- - flask-app-2
41
+ - flask-app
59
42
60
43
61
44
pgdata:
0 commit comments