forked from Netflix-Skunkworks/sketchy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fig.yml
41 lines (38 loc) · 798 Bytes
/
fig.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
web:
build: .
command: python manage.py runserver
ports:
- 7001:7001
links:
- redis
- postgres
environment:
sketchy_db: postgresql://postgres:postgres@postgres:5432
sketchy_broker_url: redis://redis:6379
sketchy_result_backend: redis://redis:6379
volumes:
- .:/app/
worker:
build: .
command: celery worker -A sketchy.celery
links:
- redis
- postgres
environment:
sketchy_db: postgresql://postgres:postgres@postgres:5432
sketchy_broker_url: redis://redis:6379
sketchy_result_backend: redis://redis:6379
C_FORCE_ROOT: true
volumes:
- .:/app/
redis:
image: redis:2.8.17
ports:
- 6379:6379
postgres:
ports:
- 5432:5432
image: postgres:9.3.5
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres