-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
69 lines (63 loc) · 1.53 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
60
61
62
63
64
65
66
67
68
69
services:
kwt-uwsgi:
image: butros10/kwt-uwsgi:latest
container_name: kwt-uwsgi
ports:
- '1664:1664'
env_file:
- .env
restart: unless-stopped
networks:
- kwt-net
kwt-daphne:
image: butros10/kwt-daphne:latest
container_name: kwt-daphne
ports:
- '8001:8001'
env_file:
- .env
depends_on:
- kwt-redis
restart: unless-stopped
networks:
- kwt-net
kwt-redis:
image: redis:latest
container_name: kwt-redis
restart: unless-stopped
networks:
- kwt-net
kwt-minio:
image: minio/minio:latest
container_name: kwt-minio
command: server /data --console-address ":9001"
environment:
- .env
ports:
- '9100:9000'
- '9101:9001'
volumes:
- /home/butros/kwt/:/data
restart: unless-stopped
networks:
- kwt-net
kwt-collectstatic:
image: butros10/kwt-collectstatic:latest
container_name: kwt-collectstatic
depends_on:
- kwt-minio
environment:
- .env
networks:
- kwt-net
kwt-migrate:
image: butros10/kwt-uwsgi:latest
container_name: kwt-migrate
command: python manage.py migrate
env_file:
- .env
networks:
- kwt-net
networks:
kwt-net:
driver: bridge