-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 866 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
34 lines (32 loc) · 866 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
networks:
dev-bot:
services:
postgresql:
container_name: postgresql
image: postgres:15
ports:
- 5455:5432
env_file:
- .env
environment:
POSTGRES_DB: ${BDD_DATABASE}
POSTGRES_USER: ${BDD_USERNAME}
POSTGRES_PASSWORD: ${BDD_PASSWORD}
networks:
- dev-bot
volumes:
- ./volumes/postgresql:/var/lib/postgresql/data
pgadmin4:
container_name: pgadmin
image: dpage/pgadmin4:6.9
env_file:
- .env
ports:
- 3500:80
environment:
- 'PGADMIN_DEFAULT_EMAIL=${PGADMIN_EMAIL}'
- 'PGADMIN_DEFAULT_PASSWORD=${PGADMIN_PASSWORD}'
volumes:
- ./pgadmin/servers.json:/pgadmin4/servers.json
networks:
- dev-bot