mirror of
https://git.kotyczka.ch/developers/django.git
synced 2025-04-05 15:25:08 +02:00
30 lines
973 B
YAML
Executable File
30 lines
973 B
YAML
Executable File
version: '3'
|
|
services:
|
|
rabbitmq:
|
|
image: rabbitmq:management
|
|
container_name: mq
|
|
restart: unless-stopped
|
|
environment:
|
|
- RABBITMQ_DEFAULT_USER=mqadmin
|
|
- RABBITMQ_DEFAULT_PASS=3Mnj29jKBsFybc
|
|
# - RABBITMQ_SSL_CERTFILE=/cert_rabbitmq/testca/cacert.pem
|
|
# - RABBITMQ_SSL_KEYFILE=/cert_rabbitmq/server/cert.pem
|
|
# - RABBITMQ_SSL_CACERTFILE=/cert_rabbitmq/server/key.pem
|
|
ports:
|
|
# The standard AMQP protocol port
|
|
- '5672:5672'
|
|
# HTTP management UI
|
|
- '15672:15672'
|
|
volumes:
|
|
- ./demo/pyapp/queue/data/:/var/lib/rabbitmq/
|
|
- ./demo/pyapp/queue/log/:/var/log/rabbitmq/
|
|
- ./data:/var/lib/rabbitmq/
|
|
# - ./certs/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf:ro
|
|
# - ./certs/root.crt:/etc/ssl/rmq-cacert.pem:ro
|
|
# - ./certs/server.crt:/etc/ssl/rmq-cert.pem:ro
|
|
# - ./certs/server.key:/etc/ssl/rmq-key.pem:ro
|
|
networks:
|
|
- ametiq
|
|
networks:
|
|
ametiq:
|
|
external: true |