浏览代码

restore dolibarr url in prod env

Olivier Massot 2 年之前
父节点
当前提交
3b102a2cca
共有 6 个文件被更改,包括 4 次插入20 次删除
  1. 2 2
      .env
  2. 0 4
      .env.ci
  3. 0 4
      .env.docker
  4. 0 4
      .env.preprod
  5. 1 1
      .env.prod
  6. 1 5
      .env.test

+ 2 - 2
.env

@@ -37,7 +37,7 @@ OPENTALENT_CONFIG=/config/opentalent
 ###< opentalent config folder ###
 
 ###> dolibarr client ###
-DOLIBARR_API_BASE_URI=https://prod-erp.2iopenservice.com/api/index.php/
+DOLIBARR_API_BASE_URI=https://dev-erp.2iopenservice.com/api/index.php/
 DOLIBARR_API_TOKEN=Bocc4zC0J186v8J6QCqu7DnoIw4I7mCJ
 ###< dolibarr client ###
 
@@ -103,4 +103,4 @@ CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
 
 ###> filename log ###
 LOG_FILE_NAME=undefined
-###< filename log ###
+###< filename log ###

+ 0 - 4
.env.ci

@@ -30,10 +30,6 @@ DATABASE_ADMINASSOS_URL=mysql://root:xxx@preprod:3306/none?serverVersion=5.7
 TYPO3_BASE_URI=http://docker.sub.opentalent.fr
 ###< typo3 client ###
 
-###> dolibarr client ###
-DOLIBARR_API_BASE_URI='https://dev-erp.2iopenservice.com/api/index.php/'
-###< dolibarr client ###
-
 ###> bindfile populate buffer file
 BIND_FILE_BUFFER_FILE=var/subdomain.txt
 ###< bindfile populate buffer file

+ 0 - 4
.env.docker

@@ -33,10 +33,6 @@ DATABASE_AUDIT_URL=mysql://root:mysql660@db:3306/audit?serverVersion=5.7
 TYPO3_BASE_URI=http://docker.sub.opentalent.fr
 ###< typo3 client ###
 
-###> 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)

+ 0 - 4
.env.preprod

@@ -33,10 +33,6 @@ DATABASE_ADMINASSOS_URL=mysql://root:mysql2iopenservice369566@preprod:3306/admin
 DATABASE_AUDIT_URL=mysql://root:mysql2iopenservice369566@preprod:3306/audit?serverVersion=5.7
 ###< 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)

+ 1 - 1
.env.prod

@@ -32,7 +32,7 @@ DATABASE_AUDIT_URL=mysql://root:mysql2iopenservice369566@prod-back:3306/audit?se
 ###< Audit configuration ###
 
 ###> dolibarr client ###
-DOLIBARR_API_BASE_URI=https://dev-erp.2iopenservice.com/api/index.php/
+DOLIBARR_API_BASE_URI=https://prod-erp.2iopenservice.com/api/index.php/
 ###< dolibarr client ###
 
 ###> symfony/mercure-bundle ###

+ 1 - 5
.env.test

@@ -33,10 +33,6 @@ DATABASE_ADMINASSOS_URL=mysql://root:mysql2iopenservice369566@test:3306/adminass
 DATABASE_AUDIT_URL=mysql://root:mysql2iopenservice369566@test:3306/audit?serverVersion=5.7
 ###< 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)
@@ -58,4 +54,4 @@ WKHTMLTOIMAGE_PATH=/usr/bin/wkhtmltoimage
 
 ###> filename log ###
 LOG_FILE_NAME=test
-###< filename log ###
+###< filename log ###