forked from The-OpenROAD-Project/OpenROAD-Cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (43 loc) · 899 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
version: '3'
volumes:
postgres_data: {}
storage_data: {}
broker_data: {}
services:
postgres:
image: postgres:9.6
container_name: openroad_db
volumes:
- postgres_data:/var/lib/postgresql/data
env_file: src/.env
broker:
image: redis:5.0.4
volumes:
- broker_data:/data
container_name: redis_broker
openroad:
build:
context: .
dockerfile: ./deployment/web/Dockerfile
container_name: openroad
volumes:
- storage_data:/src/media
depends_on:
- postgres
env_file: src/.env
ports:
- "8000:8000"
links:
- postgres
celery:
build:
context: .
dockerfile: ./deployment/celery/Dockerfile
container_name: celery
depends_on:
- postgres
- broker
- openroad
env_file: src/.env
links:
- postgres