浏览代码

update env files with mercure parameters

Olivier Massot 3 年之前
父节点
当前提交
58b64d7163
共有 3 个文件被更改,包括 26 次插入2 次删除
  1. 2 2
      .env.preprod
  2. 14 0
      .env.prod
  3. 10 0
      .env.test

+ 2 - 2
.env.preprod

@@ -40,9 +40,9 @@ DOLIBARR_API_BASE_URI=https://dev-erp.2iopenservice.com/api/index.php/
 ###> symfony/mercure-bundle ###
 ###> symfony/mercure-bundle ###
 # See https://symfony.com/doc/current/mercure.html#configuration
 # See https://symfony.com/doc/current/mercure.html#configuration
 # The URL of the Mercure hub, used by the app to publish updates (can be a local URL)
 # The URL of the Mercure hub, used by the app to publish updates (can be a local URL)
-MERCURE_URL=https://preprod.mercure.opentalent.fr/.well-known/mercure
+MERCURE_URL=http://mercure.preprod.opentalent.fr/.well-known/mercure
 # The public URL of the Mercure hub, used by the browser to connect
 # The public URL of the Mercure hub, used by the browser to connect
-MERCURE_PUBLIC_URL=https://preprod.mercure.opentalent.fr/.well-known/mercure
+MERCURE_PUBLIC_URL=http://mercure.preprod.opentalent.fr/.well-known/mercure
 # The secret used to sign the JWTs
 # The secret used to sign the JWTs
 MERCURE_JWT_SECRET=NQEupdREijrfYvCmF2mnvZQFL9zLKDH9RCYter6tUWzjemPqzicffhc2fSf0yEmM
 MERCURE_JWT_SECRET=NQEupdREijrfYvCmF2mnvZQFL9zLKDH9RCYter6tUWzjemPqzicffhc2fSf0yEmM
 ###< symfony/mercure-bundle ###
 ###< symfony/mercure-bundle ###

+ 14 - 0
.env.prod

@@ -35,6 +35,20 @@ DATABASE_ADMINASSOS_URL=mysql://root:mysql2iopenservice369566@prod-back:3306/adm
 DATABASE_AUDIT_URL=mysql://root:mysql2iopenservice369566@prod-back:3306/audit?serverVersion=5.7
 DATABASE_AUDIT_URL=mysql://root:mysql2iopenservice369566@prod-back:3306/audit?serverVersion=5.7
 ###< Audit configuration ###
 ###< Audit configuration ###
 
 
+###> dolibarr client ###
+DOLIBARR_API_BASE_URI=https://dev-erp.2iopenservice.com/api/index.php/
+###< dolibarr client ###
+
+###> symfony/mercure-bundle ###
+# See https://symfony.com/doc/current/mercure.html#configuration
+# The URL of the Mercure hub, used by the app to publish updates (can be a local URL)
+MERCURE_URL=https://mercure.opentalent.fr/.well-known/mercure
+# The public URL of the Mercure hub, used by the browser to connect
+MERCURE_PUBLIC_URL=https://mercure.opentalent.fr/.well-known/mercure
+# The secret used to sign the JWTs
+MERCURE_JWT_SECRET=NQEupdREijrfYvCmF2mnvZQFL9zLKDH9RCYter6tUWzjemPqzicffhc2fSf0yEmM
+###< symfony/mercure-bundle ###
+
 ###> bindfile populate buffer file
 ###> bindfile populate buffer file
 BIND_FILE_BUFFER_FILE=/env/subdomain.txt
 BIND_FILE_BUFFER_FILE=/env/subdomain.txt
 ###< bindfile populate buffer file
 ###< bindfile populate buffer file

+ 10 - 0
.env.test

@@ -20,6 +20,16 @@ TYPO3_BASE_URI=http://test.opentalent.fr/ohcluses
 DOLIBARR_API_BASE_URI='https://dev-erp.2iopenservice.com/api/index.php/'
 DOLIBARR_API_BASE_URI='https://dev-erp.2iopenservice.com/api/index.php/'
 ###< dolibarr client ###
 ###< dolibarr client ###
 
 
+###> symfony/mercure-bundle ###
+# See https://symfony.com/doc/current/mercure.html#configuration
+# The URL of the Mercure hub, used by the app to publish updates (can be a local URL)
+MERCURE_URL=http://mercure.test.opentalent.fr/.well-known/mercure
+# The public URL of the Mercure hub, used by the browser to connect
+MERCURE_PUBLIC_URL=http://mercure.test.opentalent.fr/.well-known/mercure
+# The secret used to sign the JWTs
+MERCURE_JWT_SECRET=NQEupdREijrfYvCmF2mnvZQFL9zLKDH9RCYter6tUWzjemPqzicffhc2fSf0yEmM
+###< symfony/mercure-bundle ###
+
 ###> bindfile populate buffer file
 ###> bindfile populate buffer file
 BIND_FILE_BUFFER_FILE=var/subdomain.txt
 BIND_FILE_BUFFER_FILE=var/subdomain.txt
 ###< bindfile populate buffer file
 ###< bindfile populate buffer file