forked from ihopeit/recruitment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-build-from-src.yml
44 lines (43 loc) · 1 KB
/
docker-compose-build-from-src.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
version: "3.2"
services:
web:
build:
context: .
dockerfile: Dockerfile
command: /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