We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 086be8d commit 7d3e347Copy full SHA for 7d3e347
docker-compose.yml
@@ -2,10 +2,11 @@ version: '3.7'
2
services:
3
postgres:
4
image: postgres:10.5
5
+ container_name: postgres
6
restart: always
7
environment:
- - POSTGRES_USER=postgres
8
- - POSTGRES_PASSWORD=postgres
+ POSTGRES_USER: postgres
9
+ POSTGRES_PASSWORD: postgres
10
logging:
11
options:
12
max-size: 10m
@@ -18,3 +19,13 @@ services:
18
19
- ./sql/create_tables.sql:/docker-entrypoint-initdb.d/create_tables.sql
20
# copy the sql script to fill tables
21
- ./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'
0 commit comments