-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
39 lines (36 loc) · 889 Bytes
/
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
version: "2"
services:
https:
image: steveltn/https-portal
ports:
- "80:80"
- "443:443"
links:
- rabbitmq
restart: always
volumes:
- https:/var/lib/https-portal
- https:/var/www/vhosts
environment:
# - STAGE=local
- STAGE=production
- DOMAINS=rabbitmq.${IP_ADDRESS}.${DNS_MAPPER} -> http://rabbitmq:15672
rabbitmq:
image: marcelmaatkamp/rabbitmq-mqtt-ldap
restart: always
hostname: rabbitmq
command: bash -c "envsubst < /etc/rabbitmq/rabbitmq.config.envsubst > /etc/rabbitmq/rabbitmq.config && rabbitmq-server"
ports:
- 5671:5671
- 8883:8883
environment:
- RABBITMQ_NODENAME=rabbitmq@rabbitmq
- DNS_MAPPER=${DNS_MAPPER}
- IP_ADDRESS=${IP_ADDRESS}
volumes:
- ./conf/rabbitmq.config:/etc/rabbitmq/rabbitmq.config.envsubst
- rabbitmq:/var/lib/rabbitmq/mnesia
- https:/var/lib/https
volumes:
rabbitmq:
https: