-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (42 loc) · 790 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (42 loc) · 790 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
volumes:
pingjs-data:
pgadmin-data:
configs:
pgadmin_server_config:
file: pgadmin_servers.json
services:
database:
image: postgres:17
restart: always
ports:
- 5432:5432
volumes:
- pingjs-data:/var/lib/postgresql/data/
env_file:
- .postgres_env
server:
build: .
image: oliphacd/pingjs-server
restart: always
ports:
- 8000:8000
depends_on:
- database
env_file:
- .env
cap_add:
- NET_RAW
pgadmin:
image: dpage/pgadmin4:9
restart: always
ports:
- 15432:80
depends_on:
- database
volumes:
- pgadmin-data:/var/lib/pgadmin/
configs:
- source: pgadmin_server_config
target: /pgadmin4/servers.json
env_file:
- .pgadmin_env