forked from b1naryth1ef/rowboat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (59 loc) · 1.08 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
version: '2'
services:
db:
build: ./docker/database/
volumes:
- ./.data:/var/lib/postgresql/data
redis:
image: redis:3.2
command: redis-server --appendonly yes
volumes:
- ./.data:/data
ports:
- "6379:6379"
statsd:
image: python:2.7.13
volumes:
- .:/opt/rowboat
command: python /opt/rowboat/docker/nulld.py
ports:
- "8125:8125"
stop_signal: SIGKILL
web:
build: .
command: python manage.py serve -r
volumes:
- .:/opt/rowboat
ports:
- "8686:8686"
depends_on:
- db
- redis
- statsd
frontend:
build: ./frontend/
environment:
- NODE_ENV=docker
command: npm run serve
volumes:
- ./frontend:/opt/frontend
ports:
- "8080:8080"
depends_on:
- web
bot:
build: .
command: python manage.py bot -e docker
volumes:
- .:/opt/rowboat
ports:
- "7171:7171"
depends_on:
- web
workers:
build: .
command: python manage.py workers
volumes:
- .:/opt/rowboat
depends_on:
- web