diff --git a/examples/rabbitmq-worker/.env b/examples/rabbitmq-worker/.env index e60515d..357ba7e 100644 --- a/examples/rabbitmq-worker/.env +++ b/examples/rabbitmq-worker/.env @@ -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 diff --git a/examples/rabbitmq-worker/.mautic_env b/examples/rabbitmq-worker/.mautic_env index 70525f9..7756561 100644 --- a/examples/rabbitmq-worker/.mautic_env +++ b/examples/rabbitmq-worker/.mautic_env @@ -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" diff --git a/examples/rabbitmq-worker/docker-compose.yml b/examples/rabbitmq-worker/docker-compose.yml index ba5f27b..544bab7 100644 --- a/examples/rabbitmq-worker/docker-compose.yml +++ b/examples/rabbitmq-worker/docker-compose.yml @@ -27,6 +27,8 @@ services: rabbitmq: image: rabbitmq:3 + environment: + - RABBITMQ_DEFAULT_VHOST=${RABBITMQ_DEFAULT_VHOST} volumes: - rabbitmq-data:/var/lib/rabbitmq