diff --git a/infrastructure/docker-compose.deploy.yml b/infrastructure/docker-compose.deploy.yml index 7613e01a8..49392683f 100644 --- a/infrastructure/docker-compose.deploy.yml +++ b/infrastructure/docker-compose.deploy.yml @@ -680,7 +680,9 @@ services: - jwt-public-key.{{ts}} environment: - NODE_ENV=production - - MONGO_URL=mongodb://events:${EVENTS_MONGODB_PASSWORD}@mongo1/events?replicaSet=rs0 + - EVENTS_MONGO_URL=mongodb://events:${EVENTS_MONGODB_PASSWORD}@mongo1/events?replicaSet=rs0 + - USER_MGNT_MONGO_URL=mongodb://user-mgnt:${USER_MGNT_MONGODB_PASSWORD}@mongo1/user-mgnt?replicaSet=rs0 + - ES_URL=http://search-user:${ROTATING_SEARCH_ELASTIC_PASSWORD}@elasticsearch:9200 deploy: labels: - 'traefik.enable=false' diff --git a/infrastructure/mongodb/on-deploy.sh b/infrastructure/mongodb/on-deploy.sh index 49b4ec36a..9df6444f8 100755 --- a/infrastructure/mongodb/on-deploy.sh +++ b/infrastructure/mongodb/on-deploy.sh @@ -262,7 +262,7 @@ if [[ $EVENTS_USER != "FOUND" ]]; then db.createUser({ user: 'events', pwd: '$EVENTS_MONGODB_PASSWORD', - roles: [{ role: 'readWrite', db: 'events' }] + roles: [{ role: 'readWrite', db: 'events' }, {role: 'read', db: 'user-mgnt'}] }) EOF else @@ -271,7 +271,7 @@ else use events db.updateUser('events', { pwd: '$EVENTS_MONGODB_PASSWORD', - roles: [{ role: 'readWrite', db: 'events' }] + roles: [{ role: 'readWrite', db: 'events' }, {role: 'read', db: 'user-mgnt'}] }) EOF -fi \ No newline at end of file +fi diff --git a/src/translations/client.csv b/src/translations/client.csv index 490b69d5d..2e2747c2f 100644 --- a/src/translations/client.csv +++ b/src/translations/client.csv @@ -798,6 +798,7 @@ error.title,Error title,Oops!,Oups ! error.title.unauthorized,Error title unauthorized,Unauthorized!,Non autorisé ! error.userListError,Error message when user list loads fails,Failed to load users,Impossible de charger les utilisateurs error.weAreTryingToFixThisError,Error description,This page could not be found,"Ce n'est pas vous, c'est nous. C'est notre faute." +event.history.timeFormat,"MMMM dd, yyyy · hh.mm a","MMMM dd, yyyy · hh.mm a", event.tennis-club-membership.action.declare.form.label,This is what this form is referred as in the system,Tennis club membership application,Demande d'adhésion au club de tennis event.tennis-club-membership.action.declare.form.section.recommender.field.firstname.label,This is the label for the field,Recommender's first name,Prénom du recommandeur event.tennis-club-membership.action.declare.form.section.recommender.field.id.label,This is the label for the field,Recommender's membership ID,ID d'adhésion du recommandeur