-
Notifications
You must be signed in to change notification settings - Fork 64
/
docker-compose.yml
54 lines (54 loc) · 1.09 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
version: "3"
services:
memcached:
image: memcached
command: memcached -l 0.0.0.0 -I 32m -m 128
ports:
- "11211:11211"
redis:
image: redis
ports:
- "6379:6379"
mariadb:
image: mariadb
ports:
- "3306:3306"
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_DATABASE: pydici
MARIADB_USER: pydici
MARIADB_PASSWORD: pydici
django:
build: .
image: digitalfox/pydici:latest
command: python manage.py runserver_plus 0.0.0.0:8888
volumes:
- .:/code
ports:
- "8888:8888"
environment:
PYDICI_ENV: "dev"
depends_on:
- memcached
- redis
- mariadb
celery:
image: digitalfox/pydici:latest
command: celery -A pydici worker -B -l INFO -Q pydici --concurrency=1
volumes:
- .:/code
environment:
PYDICI_ENV: "dev"
depends_on:
- memcached
- redis
- mariadb
bot:
image: digitalfox/pydici:latest
environment:
PYDICI_ENV: "dev"
command: python bot/pydici_bot.py
volumes:
- .:/code
depends_on:
- django