Skip to content

Commit

Permalink
Change default rabbitmq vhost to be compatible with DSN parsing in Ma…
Browse files Browse the repository at this point in the history
…utic
  • Loading branch information
mollux committed Feb 17, 2024
1 parent 9400599 commit 878e878
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/rabbitmq-worker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ MYSQL_DATABASE=mautic_db
MYSQL_USER=mautic_db_user
MYSQL_PASSWORD=mautic_db_pwd
MYSQL_ROOT_PASSWORD=changeme
RABBITMQ_DEFAULT_VHOST=mautic
DOCKER_MAUTIC_RUN_MIGRATIONS=false
DOCKER_MAUTIC_LOAD_TEST_DATA=false
4 changes: 2 additions & 2 deletions examples/rabbitmq-worker/.mautic_env
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ MAUTIC_DB_DATABASE="${MYSQL_DATABASE}"
MAUTIC_DB_USER="${MYSQL_USER}"
MAUTIC_DB_PASSWORD="${MYSQL_PASSWORD}"

MAUTIC_MESSENGER_DSN_EMAIL="amqp://guest:guest@rabbitmq:5672/%2f/messages"
MAUTIC_MESSENGER_DSN_HIT="amqp://guest:guest@rabbitmq:5672/%2f/messages"
MAUTIC_MESSENGER_DSN_EMAIL="amqp://guest:guest@rabbitmq:5672/mautic/messages"
MAUTIC_MESSENGER_DSN_HIT="amqp://guest:guest@rabbitmq:5672/mautic/messages"
2 changes: 2 additions & 0 deletions examples/rabbitmq-worker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ services:

rabbitmq:
image: rabbitmq:3
environment:
- RABBITMQ_DEFAULT_VHOST=${RABBITMQ_DEFAULT_VHOST}
volumes:
- rabbitmq-data:/var/lib/rabbitmq

Expand Down

0 comments on commit 878e878

Please sign in to comment.