mirror of
https://github.com/bitnami/containers.git
synced 2026-03-01 15:07:17 +08:00
* RABBITMQ: Set RABBITMQ_LOGS env variable default to empty To setup `log.console`/`log.file` in RabbitMQ configuration, it is needed to set the environment variable `RABBITMQ_LOGS` to be empty. By default, the bitnami Helm chart set the default already to `-`. Signed-off-by: Anthony Hausman <anthony.hausman@backmarket.com> * Add RABBITMQ_LOGS env variable to docker-compose Signed-off-by: Anthony Hausman <anthony.hausman@backmarket.com> Co-authored-by: Javier J. Salmerón-García <jsalmeron@bitnami.com>
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
version: '2'
|
|
|
|
services:
|
|
rabbitmq:
|
|
image: docker.io/bitnami/rabbitmq:3.9
|
|
ports:
|
|
- '4369:4369'
|
|
- '5551:5551'
|
|
- '5552:5552'
|
|
- '5672:5672'
|
|
- '25672:25672'
|
|
- '15672:15672'
|
|
volumes:
|
|
- 'rabbitmq_data:/bitnami/rabbitmq/mnesia'
|
|
- ./config/advanced.config:/bitnami/rabbitmq/conf/advanced.config:ro
|
|
environment:
|
|
- BITNAMI_DEBUG=true
|
|
- RABBITMQ_SECURE_PASSWORD=yes
|
|
- RABBITMQ_ENABLE_LDAP=yes
|
|
- RABBITMQ_LDAP_TLS=no
|
|
- RABBITMQ_LDAP_SERVERS=openldap
|
|
- RABBITMQ_LDAP_SERVERS_PORT=1389
|
|
- RABBITMQ_LDAP_USER_DN_PATTERN=cn=$${username},ou=users,dc=example,dc=org
|
|
- RABBITMQ_LOGS=-
|
|
openldap:
|
|
image: 'docker.io/bitnami/openldap:latest'
|
|
ports:
|
|
- '1389:1389'
|
|
environment:
|
|
- LDAP_ADMIN_USERNAME=admin
|
|
- LDAP_ADMIN_PASSWORD=adminpassword
|
|
- LDAP_USERS=user01
|
|
- LDAP_PASSWORDS=password1
|
|
volumes:
|
|
- 'openldap_data:/bitnami/openldap'
|
|
|
|
volumes:
|
|
rabbitmq_data:
|
|
driver: local
|
|
openldap_data:
|
|
driver: local
|