File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ version: '3.7'
22services :
33 postgres :
44 image : postgres:10.5
5+ container_name : postgres
56 restart : always
67 environment :
7- - POSTGRES_USER= postgres
8- - POSTGRES_PASSWORD= postgres
8+ POSTGRES_USER : postgres
9+ POSTGRES_PASSWORD : postgres
910 logging :
1011 options :
1112 max-size : 10m
@@ -18,3 +19,13 @@ services:
1819 - ./sql/create_tables.sql:/docker-entrypoint-initdb.d/create_tables.sql
1920 # copy the sql script to fill tables
2021 - ./sql/fill_tables.sql:/docker-entrypoint-initdb.d/fill_tables.sql
22+ # pgAdmin instance
23+ pgadmin :
24+ image : dpage/pgadmin4
25+ container_name : pgadmin4
26+ restart : always
27+ environment :
28+ PGADMIN_DEFAULT_EMAIL :
[email protected] 29+ PGADMIN_DEFAULT_PASSWORD : root
30+ ports :
31+ - ' 5050:80'
You can’t perform that action at this time.
0 commit comments