-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdocker-compose.development.yaml
44 lines (42 loc) · 1.12 KB
/
docker-compose.development.yaml
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'
networks:
mapswipe_network:
driver: bridge
ipam:
config: [{subnet: 172.21.0.0/16}]
api:
manager_dashboard:
mapswipe_workers:
postgres:
services:
manager_dashboard:
container_name: manager_dashboard
build:
context: manager-dashboard/
restart: unless-stopped
ports:
- '5000:80'
expose:
- "80"
volumes:
- ./manager-dashboard:/usr/share/nginx/html/manager_dashboard
networks:
- manager_dashboard
postgres:
container_name: postgres
build:
context: postgres/
dockerfile: Dockerfile-dev
environment:
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD}'
POSTGRES_USER: '${POSTGRES_USER}'
POSTGRES_DB: '${POSTGRES_DB}'
PGDATA: '/var/lib/postgresql/mapswipe'
command: postgres
volumes:
- ./postgres-data:/var/lib/postgresql/mapswipe
restart: unless-stopped
ports:
- "${POSTGRES_PORT}:5432"
networks:
- postgres