2023-07-03 17:49:51 +08:00
|
|
|
services:
|
|
|
|
rabbitmq:
|
2024-07-08 09:38:20 +08:00
|
|
|
image: rabbitmq:3.13.4-management-alpine
|
2023-10-09 14:01:00 +08:00
|
|
|
hostname: rabbitmq
|
2023-07-03 17:49:51 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
2023-08-01 16:22:43 +08:00
|
|
|
restart: always
|
2023-07-03 17:49:51 +08:00
|
|
|
ports:
|
2023-07-05 18:43:41 +08:00
|
|
|
- ${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
|