-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
62 lines (60 loc) · 1.22 KB
/
docker-compose.yaml
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
55
56
57
58
59
60
61
62
version: "3.7"
services:
server:
container_name: server
build:
dockerfile: ./docker/Dockerfile
context: .
command: gunicorn --bind 0.0.0.0:8000 runserver:app
env_file: .env
ports:
- "8000:8000"
volumes:
- playlists:/app/data
depends_on:
- redis
- rabbitmq
- influxdb
celery:
container_name: celery
build:
dockerfile: ./docker/Dockerfile
context: .
command: celery -A gepify.celery worker --loglevel=info -f celery.log
env_file: .env
volumes:
- playlists:/app/data
depends_on:
- redis
- rabbitmq
- influxdb
celerybeat:
container_name: celerybeat
build:
dockerfile: ./docker/Dockerfile
context: .
command: celery -A gepify beat -f beat.log
env_file: .env
volumes:
- playlists:/app/data
depends_on:
- redis
- rabbitmq
- influxdb
redis:
container_name: redis
image: redis:5-alpine
volumes:
- redis:/data
rabbitmq:
container_name: rabbitmq
image: rabbitmq:3-alpine
influxdb:
container_name: influxdb
image: influxdb:1.7-alpine
volumes:
- influxdb:/var/lib/influxdb
volumes:
redis:
influxdb:
playlists: