-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (50 loc) · 1.02 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
53
54
55
56
57
58
59
version: '3.7'
services:
web:
restart: always
build: ./web
ports:
- 80:80
env_file:
- ./prod.env
- ./minio.env
minio:
image: minio/minio
volumes:
- data-volume:/data
ports:
- '9000:9000'
- '9001:9001'
env_file:
- ./minio.env
command: minio server /data --console-address ":9001"
runner:
restart: always
build: ./runner
env_file:
- ./prod.env
- ./minio.env
# command: celery -A api.celery worker --loglevel=INFO --concurrency=6
redis-celery:
restart: always
image: "redis"
volumes:
- redis-volume:/var/lib/redis
- redis-volume:/usr/local/etc/redis/redis.conf
ports:
- "6379:6379"
environment:
- REDIS_REPLICATION_MODE=master
postgres-db:
restart: always
image: postgres:latest
volumes:
- db-volume:/var/lib/postgresql/data
ports:
- "5432:5432"
env_file:
- ./db-prod.env
volumes:
redis-volume:
db-volume:
data-volume: