-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 995 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (40 loc) · 995 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
version: '3.8'
services:
create_resume:
container_name: create_resume
image: postgres:latest
env_file:
- ./.env
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
PGDATA: /data/postgres
volumes:
- ${DOCKER_VALUMES}
ports:
- ${POSTGRES_HOST}:${POSTGRES_PORT}:5432
networks:
- create_resume
restart: unless-stopped
create_resume_pgadmin:
container_name: create_resume_pgadmin
image: dpage/pgadmin4
env_file:
- ./.env
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD}
PGADMIN_CONFIG_SERVER_MODE: ${PGADMIN_CONFIG_SERVER_MODE}
volumes:
- ${DOCKER_VALUMES}
ports:
- ${PGADMIN_DEFAULT_HOST}:${PGADMIN_DEFAULT_PORT}:80
networks:
- create_resume
restart: unless-stopped
networks:
create_resume:
driver: bridge
volumes:
postgres:
pgadmin: