Skip to content
Snippets Groups Projects
Commit 35fcae4d authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Use different variable for sentinel exposed port and sentinel port given to the service

parent 1ee594f9
Branches
Tags
1 merge request!9Update the license
Pipeline #3836 failed
...@@ -41,7 +41,7 @@ services: ...@@ -41,7 +41,7 @@ services:
- REDIS_MASTER_HOST=${REDIS_MASTER_HOST} - REDIS_MASTER_HOST=${REDIS_MASTER_HOST}
- REDIS_MASTER_SET=${REDIS_GROUP_NAME} - REDIS_MASTER_SET=${REDIS_GROUP_NAME}
ports: ports:
- '${REDIS_SENTINEL_PORT}:26379' - '${REDIS_SENTINEL_EXPOSED_PORT}:26379'
restart: unless-stopped restart: unless-stopped
redis-slave: redis-slave:
......
TAG=<version of the service to deploy> TAG=<version/tag of the docker image to be deployed>
MIDDLEWARE_LEGACY_SERVICE_BIND_PORT=<listening port of the service> MIDDLEWARE_LEGACY_SERVICE_BIND_PORT=<port on which the service will be running>
LEGACY_AUTH_SERVICE_URL=<base url of the legacy auth service> LEGACY_AUTH_SERVICE_URL=<root url of the legacy auth service>
ADMIN_PASSWORD=<admin password of the legacy auth service> ADMIN_PASSWORD=<legacy auth service admin password>
ADMIN_USERNAME=<admin username of the legacy auth service> ADMIN_USERNAME=<legacy auth service admin username>
SERVICE_EMAIL_URL=<base url of the mail service> SERVICE_EMAIL_URL=<the email service URL>
USER_SUPPORT_MAILBOX=<user support email address> USER_SUPPORT_MAILBOX=<email address of the support team>
FRONT_END_URL=<web app url> FRONT_END_URL=<the root url of the web app>
API_KEY=<api key of the of the service (generated in kong)> VALIDATE_ACCOUNT_URI=<path in the web app to the validate account page ex: '/connexion'>
ACCESS_TOKEN_COOKIE_KEY=<cookie key where the access token will be stored> PASSWORD_RESET_URI=<path in the web app that allow a user to reset/reenter its password >
IMAGE_HOST=<host of the images present in the emails body> API_KEY=<the API key that allows this service to be authentified by the API gateway>
REDIS_SENTINEL_HOST=<redis sentinel host> ACCESS_TOKEN_COOKIE_KEY=<key of the cookie where the JWT has been set>
REDIS_SENTINEL_PORT=<redis sentinel port> IMAGE_HOST=<host of the images in the email templates>
REDIS_MASTER_PORT=<redis master port> REDIS_SENTINEL_HOST=<host of the redis sentinel from the service point of view ex: 'redis-sentinel-1'>
REDIS_SLAVE_PORT=<redis slave port> REDIS_SENTINEL_PORT=<port of the redis sentinel from the service point of view ex: 26379>
REDIS_GROUP_NAME=<group name containing a master, and one or more slaves> REDIS_SENTINEL_EXPOSED_PORT=<port on which the redis sentinel is exposed>
\ No newline at end of file REDIS_GROUP_NAME=<name of the group of the different sentinels>
ALLOW_EMPTY_PASSWORD=<whether empty password is accepted or not for a redis instance ex: 'yes'>
REDIS_MASTER_PORT=<port of the redis master>
REDIS_MASTER_HOST=<host of the redis master>
REDIS_SLAVE_PORT=<port of the redis slave>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment