Files
jsowell-charger-web/docker/docker-compose.yml
2026-05-07 16:01:03 +08:00

23 lines
711 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
version: '3.8'
services:
rabbitmq:
image: rabbitmq:3.13-management
container_name: rabbitmq
restart: unless-stopped
ports:
- "5671:5671" # AMQP over TLS/SSL
- "5672:5672" # AMQP 协议端口(应用连接用)
- "4369:4369" # Erlang 端口映射守护进程epmd
- "15671:15671" # Management UI over TLS/SSL
- "15672:15672" # Management UI 端口(浏览器访问)
- "25672:25672" # Erlang 集群通信端口
environment:
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=admin
volumes:
- /var/lib/rabbitmq:/var/lib/rabbitmq
deploy:
resources:
limits:
memory: 256m