-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
87 lines (81 loc) · 1.5 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: "3.7"
services:
djangoapp:
depends_on:
- dbtucat
- mongodb
- rabbitmq
env_file:
.env
build:
context: .
dockerfile: Dockerfile
args:
- apphome=$APPHOME
- applog=$APPLOG
command: supervisord -c /etc/supervisor/supervisord.conf
volumes:
- djangoapp_volume:/opt/services
networks:
- httpsportal_network
- dbtucat_network
- mongodb_network
- rabbitmq_network
dbtucat:
image: postgres:10.5
env_file:
.env
volumes:
- dbtucat_volume:/var/lib/postgresql/data
networks:
- dbtucat_network
mongodb:
image: mongo:latest
env_file:
.env
ports:
- 27017:27017
volumes:
- mongodb_volume:/data/db
networks:
- mongodb_network
https-portal:
image: steveltn/https-portal:1
env_file:
.env
ports:
- '80:80'
- '443:443'
- '5555:5555'
links:
- djangoapp
restart: always
networks:
- httpsportal_network
rabbitmq:
image: rabbitmq:latest
env_file:
.env
ports:
- 15672:15672
- 5672:5672
volumes:
- rabbitmq_volume:/var/lib/rabbitmq/mnesia/
networks:
- rabbitmq_network
networks:
dbtucat_network:
driver: bridge
mongodb_network:
driver: bridge
httpsportal_network:
driver: bridge
rabbitmq_network:
driver: bridge
volumes:
djangoapp_volume:
dbtucat_volume:
mongodb_volume:
static:
media:
rabbitmq_volume: