appstore-1panel/apps/rabbitmq/4.0.2-management-alpine/docker-compose.yml

22 lines
569 B
YAML
Raw Normal View History

2023-07-03 17:49:51 +08:00
services:
rabbitmq:
image: rabbitmq:4.0.2-management-alpine
hostname: rabbitmq
2023-07-03 17:49:51 +08:00
container_name: ${CONTAINER_NAME}
restart: always
2023-07-03 17:49:51 +08:00
ports:
- ${PANEL_APP_PORT_SERVICE}:5672
2023-07-03 17:49:51 +08:00
- ${PANEL_APP_PORT_HTTP}:15672
environment:
- RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER}
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
volumes:
- ./data/:/var/lib/rabbitmq/
- ./log/:/var/log/rabbitmq
networks:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true