File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
bootcamp/materials/1-dimensional-data-modeling Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,17 @@ services:
1717 - ./data.dump:/docker-entrypoint-initdb.d/data.dump
1818 - ./scripts/init-db.sh:/docker-entrypoint-initdb.d/init-db.sh
1919 - postgres-data:/var/lib/postgresql/data
20-
20+ pgadmin :
21+ image : dpage/pgadmin4
22+ restart : on-failure
23+ container_name : pgadmin
24+ environment :
25+ - PGADMIN_DEFAULT_EMAIL=${PGADMIN_EMAIL}
26+ - PGADMIN_DEFAULT_PASSWORD=${PGADMIN_PASSWORD}
27+ ports :
28+ - " ${PGADMIN_PORT}:80"
29+ volumes :
30+ - pgadmin-data:/var/lib/pgadmin
2131volumes :
2232 postgres-data :
33+ pgadmin-data :
Original file line number Diff line number Diff line change @@ -7,4 +7,8 @@ HOST_PORT=5432
77CONTAINER_PORT = 5432
88
99DOCKER_CONTAINER = my-postgres-container
10- DOCKER_IMAGE = my-postgres-image
10+ DOCKER_IMAGE = my-postgres-image
11+
12+ 13+ PGADMIN_PASSWORD = postgres
14+ PGADMIN_PORT = 5050
You can’t perform that action at this time.
0 commit comments