This repository has been archived by the owner on Mar 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
docker-compose.yml
92 lines (81 loc) · 1.53 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# nginx reverse-proxy
nginx:
image: probr/core-nginx:latest
ports:
- "80:80"
volumes_from:
- dataprobr
links:
- web:probr_core
- websocket:probr_core_ws
# probr-core, django app
web:
image: probr/core:latest
command: sh install/docker/web/run.sh
ports:
- "8001:8001"
volumes_from:
- dataprobr
links:
- postgres:postgres
- redis:redis
# probr-core, websockets
websocket:
image: probr/core:latest
command: sh install/docker/web/websocket.sh
ports:
- "8002:8002"
# probr-core, websockets
worker:
image: probr/core:latest
command: sh install/docker/web/worker.sh
volumes_from:
- dataprobr
links:
- postgres:postgres
- redis:redis
# database container
postgres:
image: postgres:9.4.5
volumes_from:
- datapostgres
environment:
POSTGRES_USER: probr
POSTGRES_PASSWORD: probr
# mongodb
mongodb:
image: mongo:3.0.6
volumes_from:
- datamongodb
# influxdb
influxdb:
image: tutum/influxdb:0.9
ports:
- "8083:8083"
- "8086:8086"
volumes_from:
- datainflux
# redis container
redis:
image: redis:2.8.19
# data container for postgres
datapostgres:
image: cogniteev/echo
volumes:
- /var/lib/postgresql
# data container for mongodb
datamongodb:
image: cogniteev/echo
volumes:
- /data/db
# data container for mongodb
datainflux:
image: cogniteev/echo
volumes:
- /var/influxdb
# data container for probr
dataprobr:
image: cogniteev/echo
volumes:
- ./media:/app/media
- ./static:/app/static