forked from AustralianDisabilityLimited/unisubs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
58 lines (54 loc) · 999 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
57
58
app:
image: amara-app
command: app
environment:
DJANGO_SETTINGS_MODULE: dev_settings
DJANGO_LIVE_TEST_SERVER_ADDRESS: 'localhost:8081,8090-8100,9000-9200'
LANG: en_US.UTF-8
WORKERS: 2
JSON_LOGGING:
DB_LOGGING:
volumes:
- .:/opt/apps/amara:z
hostname: unisubs.example.com
ports:
- "8000:8000"
links:
- db
- queue
- cache
worker:
image: amara-app
command: worker
environment:
CELERY_OPTS: -B
CELERY_QUEUES: default,feeds,priority
DJANGO_SETTINGS_MODULE: dev_settings
LANG: en_US.UTF-8
JSON_LOGGING:
volumes:
- .:/opt/apps/amara:z
links:
- db
- queue
- cache
db:
image: mysql
environment:
MYSQL_ROOT_PASSWORD: amara
MYSQL_USER: amara
MYSQL_PASSWORD: amara
MYSQL_DATABASE: amara
volumes:
- ./docker-dev/mysql/conf.d/:/etc/mysql/conf.d:z
ports:
- "3306"
queue:
image: rabbitmq
ports:
- "5672"
- "15672"
cache:
image: memcached
ports:
- "11211"