-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpostgres.yml
More file actions
46 lines (41 loc) · 935 Bytes
/
postgres.yml
File metadata and controls
46 lines (41 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: "3.1"
services:
postgres:
image: postgres
container_name: postgres
ports:
- 5432:5432
volumes:
- ~/src/docker_vol/postgres-db:/var/lib/postgresql
environment:
POSTGRES_PASSWORD: root
POSTGRES_USER: root
POSTGRES_DB: api-store-auth
# networks:
# - postgres
# adminer-postgres:
# image: adminer
# container_name: adminer-postgres
# ports:
# - 8080:8080
# pgadmin:
# container_name: pgadmin
# image: dpage/pgadmin4
# environment:
# PGADMIN_DEFAULT_EMAIL: admin@admin.com
# PGADMIN_DEFAULT_PASSWORD: admin
# PGADMIN_CONFIG_SERVER_MODE: "False"
# volumes:
# - ~/src/docker_vol/pgadmin:/var/lib/pgadmin
# ports:
# - "${PGADMIN_PORT:-5050}:80"
# networks:
# - postgres
# networks:
# postgres:
# driver: bridge
volumes:
postgres:
driver: local
# pgadmin:
# driver: local