Skip to content
Snippets Groups Projects
Commit 874b0623 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix: mail config + new url

parent 03eec1bf
Branches
Tags
2 merge requests!38Recette,!37Dev
...@@ -6,6 +6,8 @@ services: ...@@ -6,6 +6,8 @@ services:
image: registry.forge.grandlyon.com/pamn_plateforme-des-acteurs-de-la-mediation-numerique/pamn_server:${TAG} image: registry.forge.grandlyon.com/pamn_plateforme-des-acteurs-de-la-mediation-numerique/pamn_server:${TAG}
ports: ports:
- ${SERVICE_API_BIND_PORT}:3000 - ${SERVICE_API_BIND_PORT}:3000
extra_hosts:
- 'sen.grandlyon.com:10.128.16.229'
environment: environment:
MONGO_NON_ROOT_USERNAME: ${MONGO_NON_ROOT_USERNAME} MONGO_NON_ROOT_USERNAME: ${MONGO_NON_ROOT_USERNAME}
MONGO_NON_ROOT_PASSWORD: ${MONGO_NON_ROOT_PASSWORD} MONGO_NON_ROOT_PASSWORD: ${MONGO_NON_ROOT_PASSWORD}
......
export const configDev = { export const configDev = {
url: process.env.MAIL_URL, url: process.env.MAIL_URL,
token: process.env.MAIL_TOKEN, token: process.env.MAIL_TOKEN,
host: 'ram-dev.grandlyon.com', host: 'resin-dev.grandlyon.com',
protocol: 'https', protocol: 'https',
port: '443', port: '443',
from: 'inclusionnumerique@grandlyon.com', from: 'inclusionnumerique@grandlyon.com',
......
export const configProd = { export const configProd = {
url: process.env.MAIL_URL, url: process.env.MAIL_URL,
token: process.env.MAIL_TOKEN, token: process.env.MAIL_TOKEN,
host: 'ram.grandlyon.com', host: 'resin.grandlyon.com',
protocol: 'https', protocol: 'https',
port: '443', port: '443',
from: 'inclusionnumerique@grandlyon.com', from: 'inclusionnumerique@grandlyon.com',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment