Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
services
mailer
Commits
23f9230c
Commit
23f9230c
authored
Mar 19, 2019
by
Alessandro CERIONI
Browse files
Exposing RabbitMQ listening port.
parent
9110beb6
Pipeline
#2474
passed with stages
in 25 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
23f9230c
...
...
@@ -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
...
...
docker-compose.yml
View file @
23f9230c
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment