Browse Source

update .env files

Olivier Massot 4 years ago
parent
commit
9383fb5a54
4 changed files with 19 additions and 0 deletions
  1. 4 0
      .env.ci
  2. 4 0
      .env.local
  3. 4 0
      .env.preprod
  4. 7 0
      .env.prod

+ 4 - 0
.env.ci

@@ -1,2 +1,6 @@
+## CI ENVIRONMENT FILE
+NODE_ENV=production
+DEBUG=1
+
 SSR_API_BASE_URL = https://api.preprod.opentalent.fr
 CLIENT_API_BASE_URL = https://api.preprod.opentalent.fr

+ 4 - 0
.env.local

@@ -1,2 +1,6 @@
+## LOCAL ENVIRONMENT FILE
+NODE_ENV=dev
+DEBUG=1
+
 SSR_API_BASE_URL = http://nginx
 CLIENT_API_BASE_URL = https://local.api.opentalent.fr

+ 4 - 0
.env.preprod

@@ -1,2 +1,6 @@
+## PREPROD ENVIRONMENT FILE
+NODE_ENV=production
+DEBUG=1
+
 SSR_API_BASE_URL = https://api.preprod.opentalent.fr
 CLIENT_API_BASE_URL = https://api.preprod.opentalent.fr

+ 7 - 0
.env.prod

@@ -0,0 +1,7 @@
+## PROD ENVIRONMENT FILE
+# /!\ -- USE ONLY IN PRODUCTION --
+NODE_ENV=production
+DEBUG=0
+
+SSR_API_BASE_URL = https://api.opentalent.fr
+CLIENT_API_BASE_URL = https://api.opentalent.fr