-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (52 loc) · 1005 Bytes
/
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
49
50
51
52
53
54
55
56
version: '3'
services:
database:
image: postgis/postgis:11-3.3
shm_size: '1024m'
ports:
- "5409:5432"
env_file:
- .env
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
- incidents_network
api:
build: ./api
ports:
- "8080:8000"
links:
- database
- redis
# - celery
env_file:
- .env
volumes:
- ./api:/app
- ./api/deploy:/deploy
- ./api/deploy/docker-entrypoint.development.sh:/docker-entrypoint.development.sh
networks:
- incidents_network
command:
- "/deploy/docker-entrypoint.development.sh"
redis:
image: redis
networks:
- incidents_network
ports:
- "6380:6379"
# msb:
# build: ./msb
# ports:
# - "8001:8001"
# env_file:
# - .env
# volumes:
# - ./msb/app/:/build/app
# networks:
# - incidents_network
volumes:
postgres-data:
networks:
incidents_network:
external: true