2019-02-23 11:02:13 +00:00
|
|
|
# vim: set ft=yaml:
|
2018-08-15 17:54:20 +00:00
|
|
|
version: '2.1'
|
|
|
|
|
|
|
|
services:
|
2019-02-23 11:02:13 +00:00
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------------------------
|
|
|
|
# RabbitMQ
|
|
|
|
# -----------------------------------------------------------------------------------------------
|
2018-08-15 17:54:20 +00:00
|
|
|
rabbit:
|
|
|
|
image: rabbitmq:${RABBIT_SERVER:-management}
|
|
|
|
hostname: rabbit
|
|
|
|
environment:
|
|
|
|
- RABBITMQ_DEFAULT_VHOST=${RABBIT_DEFAULT_VHOST:-my_vhost}
|
|
|
|
- RABBITMQ_DEFAULT_USER=${RABBIT_DEFAULT_USER:-guest}
|
|
|
|
- RABBITMQ_DEFAULT_PASS=${RABBIT_DEFAULT_PASS:-guest}
|
|
|
|
ports:
|
|
|
|
- "${LOCAL_LISTEN_ADDR}${HOST_PORT_RABBIT:-5672}:5672"
|
|
|
|
- "${LOCAL_LISTEN_ADDR}${HOST_PORT_RABBIT_MGMT:-15672}:15672"
|
|
|
|
networks:
|
|
|
|
app_net:
|
|
|
|
ipv4_address: 172.16.238.210
|
|
|
|
volumes:
|
2019-03-01 12:59:33 +00:00
|
|
|
- devilbox-rabbit:/var/lib/rabbitmq
|
2018-08-15 17:54:20 +00:00
|
|
|
depends_on:
|
|
|
|
- bind
|
|
|
|
- php
|
|
|
|
- httpd
|
2019-03-01 12:59:33 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
devilbox-rabbit:
|