-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
38 lines (35 loc) · 967 Bytes
/
docker-compose.yaml
File metadata and controls
38 lines (35 loc) · 967 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
services:
aftermath-database:
extends:
file: docker-compose.base.yaml
service: aftermath-database-base
restart: always
ports:
- "5432:5432"
aftermath-collector:
extends:
file: docker-compose.base.yaml
service: aftermath-collector-base
restart: no
command: --backend=aftermath-service:${PRIVATE_SERVER_PORT}
aftermath-migrate:
extends:
file: docker-compose.base.yaml
service: aftermath-migrate-base
depends_on:
aftermath-database:
condition: service_started
restart: no
aftermath-service:
extends:
file: docker-compose.base.yaml
service: aftermath-service-base
restart: no
environment:
# use the default port from .env
- DATABASE_PATH=/data # this is the path inside a container and needs to match the volume mount
ports:
- "${PORT}:${PORT}"
depends_on:
aftermath-database:
condition: service_started