1version: '3'
2volumes:
3 postgres-data-eps-sg:
4services:
5 chart_db-eps-sg:
6 image: postgres
7 hostname: chart_db-epssg
8 environment:
9 POSTGRES_USER: dev
10<<<hidden due to potential security issue>>>
11 POSTGRES_DB: CHARTEPSSG
12 restart: always
13 ports:
14 - 5432:5432
15 volumes:
16 - postgres-data-eps-sg:/var/lib/postgresql/data
17 pgadmin:
18 image: dpage/pgadmin4
19 depends_on:
20 - chart_db-eps-sg
21 ports:
22 - 5255:80
23 environment:
24 PGADMIN_DEFAULT_EMAIL: chart@solenix.ch
25<<<hidden due to potential security issue>>>
26 restart: unless-stopped
27 chartepssg:
28 image: chartepssg_app:latest
29 command: serve
30 depends_on:
31 - chart_db-eps-sg
32 ports:
33 - 10000:10000
34 - 5678:5678
35 restart: unless-stopped