forked from fga-eps-mds/MeasureSoftGram-Front
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
48 lines (45 loc) · 1.01 KB
/
docker-compose-dev.yml
File metadata and controls
48 lines (45 loc) · 1.01 KB
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
39
40
41
42
43
44
45
46
47
48
services:
front:
container_name: front
build:
context: .
restart: on-failure
ports:
- '3000:3000'
volumes:
- .:/usr/src/
- /usr/src/node_modules
- /usr/src/.next
depends_on:
- service
service:
container_name: msgram-service
image: 2026measuresoftgram/measuresoftgram-service:latest
command: ["./start_service.sh"]
restart: on-failure
ports:
- "8080:8080"
env_file:
- ./env-vars/.service.env
- ./env-vars/.postgres.env
depends_on:
db:
condition: service_healthy
db:
container_name: msgram-postgres
image: postgres:15-alpine
restart: always
ports:
- "5432:5432"
volumes:
- service_postgres_data:/var/lib/postgresql/data
env_file:
- ./env-vars/.postgres.env
healthcheck:
test: ["CMD", "pg_isready", "-q", "-d", "postgres", "-U", "postgres"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
volumes:
service_postgres_data: