rabbitmq/sample/docker-compose.yml

26 lines
535 B
YAML
Raw Permalink Normal View History

2023-01-09 15:30:35 +00:00
version: "2"
services:
rabbitmq:
image: "mxfox.ru/mxfox/rabbitmq:main"
networks:
- interlink
volumes:
- ./rabbitmq/rabbitmq.config:/etc/rabbitmq/rabbitmq.config
ports:
- "5672:5672"
- "15672:15672"
environment:
- RABBITMQ_DEFAULT_USER=${RABBITMQ_ADMIN_USER:-guest}
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_ADMIN_PASS:-guest}
rabbitmq-tcprelay:
restart: "on-failure"
image: "cloudamqp/websocket-tcp-relay"
networks:
- interlink
command: "--upstream tcp://rabbitmq:5672"
ports:
- "15670:15670"