-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (40 loc) · 1.42 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
version: "3.7"
services:
# ====================================================================================================================
# POSTGRES SERVER
# ====================================================================================================================
pg-docker:
image: postgres:14-alpine
container_name: dev-postgresql
environment:
POSTGRES_DB: mydatabase
POSTGRES_PASSWORD: 1234567
ports:
- 5433:5432
volumes:
- ./.data/postgresql/data:/var/lib/postgresql/data
networks:
- dev-network
# ====================================================================================================================
# PGADMIN
# ====================================================================================================================
pgadmin-docker:
image: dpage/pgadmin4
container_name: dev-pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: 1234567
ports:
- 5050:80
volumes:
- ./.data/pgadmin:/var/lib/pgadmin
depends_on:
- pg-docker
networks:
- dev-network
# ======================================================================================================================
# REDE
# ======================================================================================================================
networks:
dev-network:
driver: bridge