-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (46 loc) · 1.19 KB
/
docker-compose.yml
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
47
48
---
version: '3'
services:
portainer:
image: portainer/portainer
container_name: portainer
restart: always
ports:
- "9050:9000"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "portainer_data:/data"
networks:
- easyform_net
postgres:
image: postgres:latest
container_name: postgres
restart: always
ports:
- 5432:5432
volumes:
- "../volumes/pgdata_easyform:/var/lib/postgresql/data"
environment:
POSTGRES_PASSWORD: password
networks:
- easyform_net
pgadmin:
image: dpage/pgadmin4:latest
container_name: pgadmin
restart: always
ports:
- 80:80
environment:
PGADMIN_DEFAULT_EMAIL: easyform@gmail.com
PGADMIN_DEFAULT_PASSWORD: password
PGADMIN_LISTEN_ADDRESS: 0.0.0.0
PGADMIN_PORT: 80
volumes:
- "../volumes/pgadmin_easyform:/var/lib/pgadmin4/storage"
networks:
- easyform_net
networks:
easyform_net:
driver: bridge
volumes:
portainer_data: