Commit 23f9230c authored by Alessandro CERIONI's avatar Alessandro CERIONI
Browse files

Exposing RabbitMQ listening port.

parent 9110beb6
Pipeline #2474 passed with stages
in 25 seconds
......@@ -12,6 +12,7 @@ build_development:
script:
- export TAG=dev
- export MAIL_SERVICE_BIND_PORT=3000
- export RABBITMQ_LISTENING_PORT=5672
- export RABBITMQ_GUI_PORT=15672
- docker-compose build
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
......@@ -26,6 +27,7 @@ build_release:
script:
- export TAG=$CI_COMMIT_TAG
- export MAIL_SERVICE_BIND_PORT=3000
- export RABBITMQ_LISTENING_PORT=5672
- export RABBITMQ_GUI_PORT=15672
- docker-compose build
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
......@@ -38,6 +40,7 @@ deploy_development:
script:
- export TAG=dev
- export MAIL_SERVICE_BIND_PORT=3001
- export RABBITMQ_LISTENING_PORT=5673
- export RABBITMQ_GUI_PORT=15672
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose pull
......
......@@ -18,7 +18,7 @@ services:
rabbitmq:
image: rabbitmq:3-management-alpine
ports:
# - ${RABBITMQ_LISTENING_PORT}:5672 # standard port for communication
- ${RABBITMQ_LISTENING_PORT}:5672 # standard port for communication
- ${RABBITMQ_GUI_PORT}:15672 # graphic interface
environment:
- RABBITMQ_DEFAULT_USER=rabbitmq-user
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment