File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ version : " 3"
2+ services :
3+ postgres :
4+ container_name : quizhub-postgres
5+ image : postgres:16.1-alpine3.19
6+ restart : always
7+ environment :
8+ POSTGRES_DB : quizhub-dev
9+ POSTGRES_USER : postgres
10+ POSTGRES_PASSWORD : password
11+ PGDATA : /var/lib/postgresql/data
12+ volumes :
13+ - ./data:/var/lib/postgresql/data
14+ ports :
15+ - " 172.17.0.1:5432:5432"
16+
17+ pgadmin4 :
18+ container_name : quizhub-pgadmin4
19+ image : elestio/pgadmin:latest
20+ restart : always
21+ environment :
22+ PGADMIN_DEFAULT_USERNAME : wassim
23+ PGADMIN_DEFAULT_EMAIL : wassimrached@gmail.com
24+ PGADMIN_DEFAULT_PASSWORD : password
25+ PGADMIN_LISTEN_PORT : 7777
26+ ports :
27+ - " 172.17.0.1:7777:7777"
28+ volumes :
29+ - ./servers.json:/pgadmin4/servers.json
You can’t perform that action at this time.
0 commit comments