-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
49 lines (44 loc) · 1.07 KB
/
docker-compose.dev.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
version: '3.8'
services:
api:
image: taylorvance/hexachromix:api-latest
container_name: dev-api
django:
image: taylorvance/hexachromixio:latest
container_name: dev-django
command: "python manage.py runserver 0.0.0.0:8000"
ports:
- "8600:8000"
environment:
- DJANGO_SECRET_KEY
- DJANGO_DEBUG
- DJANGO_ALLOWED_HOSTS
- DJANGO_DB_ENGINE
- DJANGO_DB_NAME
- DJANGO_LOG_LEVEL
- DJANGO_CSRF_TRUSTED_ORIGINS
- HEXACHROMIX_API_URL
volumes:
- hexachromix_data:/data
- ./:/app
celery:
image: taylorvance/hexachromixio:latest
container_name: dev-celery
command: "celery -A hexachromixio worker -l info"
environment:
- DJANGO_SECRET_KEY
- DJANGO_DEBUG
- DJANGO_ALLOWED_HOSTS
- DJANGO_DB_ENGINE
- DJANGO_DB_NAME
- DJANGO_LOG_LEVEL=DEBUG
- DJANGO_CSRF_TRUSTED_ORIGINS
- HEXACHROMIX_API_URL
volumes:
- hexachromix_data:/data
- ./:/app
redis:
image: redis
container_name: dev-redis
volumes:
hexachromix_data: