forked from mozilla/mozillians
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (62 loc) · 1.12 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
version: '2'
services:
db:
image: mariadb:10.2
restart: always
environment:
- MYSQL_DATABASE=mozillians
- MYSQL_USER=mozillians
- MYSQL_PASSWORD=mozillians
- MYSQL_ROOT_PASSWORD=root
volumes:
- mariadb_volume:/var/lib/mysql
- ./docker/files/mariadb.cnf:/etc/mysql/conf.d/my.cnf
es:
image: elasticsearch:2.4.5
memcached:
image: memcached
broker:
image: redis:3
web:
build:
context: .
dockerfile: docker/dev
ports:
- "8000:8000"
stdin_open: true
tty: true
volumes:
- .:/code
links:
- db
- es
- memcached
- broker
celery:
build:
context: .
dockerfile: docker/dev
volumes:
- .:/code
links:
- db
- es
- broker
- memcached
command: ./bin/run-celery.sh
environment:
- C_FORCE_ROOT=true
flower:
build:
context: .
dockerfile: docker/dev
volumes:
- .:/code
links:
- db
- broker
ports:
- "5555:5555"
command: flower -A mozillians --address=0.0.0.0 --port=5555
volumes:
mariadb_volume: