forked from digitalfox/pydici
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (52 loc) · 1.04 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
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
volumes:
- .:/code
environment:
PYDICI_ENV: "dev"
depends_on:
- django
bot:
image: digitalfox/pydici:latest
environment:
PYDICI_ENV: "dev"
command: python bot/pydici_bot.py
volumes:
- .:/code
depends_on:
- django