forked from ihopeit/recruitment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
42 lines (42 loc) · 1.03 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
version: "3.2"
services:
web:
image: "ihopeit/django-recruitment-base:0.8"
container_name: recruitment-web
entrypoint: ["/bin/sh", "/data/recruitment/start.local.bat"]
environment:
- server_params=--settings=settings.local
volumes:
- .:/data/recruitment
- /data/logs/recruitment/
ports:
- "8000:8000"
depends_on:
- redis
- celery
- flower
redis:
image: "redis:alpine"
container_name: recruit-redis
ports:
- "6379:6379"
celery:
image: "ihopeit/django-recruitment:0.8"
container_name: recruit-celery
volumes:
- .:/data/recruitment
- /data/logs/recruitment/
entrypoint: ["/bin/sh", "/data/recruitment/worker.start.sh"]
depends_on:
- redis
flower:
image: "ihopeit/django-recruitment:0.8"
container_name: recruit-flower
ports:
- "5555:5555"
volumes:
- .:/data/recruitment
- /data/logs/recruitment/
entrypoint: ["/bin/sh", "/data/recruitment/flower.start.sh"]
depends_on:
- redis