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"