Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
legacy-auth
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
middlewares
legacy-auth
Commits
35fcae4d
Commit
35fcae4d
authored
5 years ago
by
FORESTIER Fabien
Browse files
Options
Downloads
Patches
Plain Diff
Use different variable for sentinel exposed port and sentinel port given to the service
parent
1ee594f9
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!9
Update the license
Pipeline
#3836
failed
5 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker-compose.yml
+1
-1
1 addition, 1 deletion
docker-compose.yml
template.env
+21
-16
21 additions, 16 deletions
template.env
with
22 additions
and
17 deletions
docker-compose.yml
+
1
−
1
View file @
35fcae4d
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
template.env
+
21
−
16
View file @
35fcae4d
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment