From ab2d91938fae053c8e632e238b866b138323d5d1 Mon Sep 17 00:00:00 2001
From: Bastien Dumont <bdumont@grandlyon.com>
Date: Fri, 22 Mar 2024 10:47:06 +0100
Subject: [PATCH] chore: update .env.template

---
 .env.template | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/.env.template b/.env.template
index 8ed6f7ca9..b729b3214 100644
--- a/.env.template
+++ b/.env.template
@@ -1,7 +1,11 @@
+# Env
 TAG=<version number>
 NODE_ENV=<dev or production>
+# Configuration
 SERVICE_API_BIND_PORT=<service port>
 JWT_SECRET=<the secret used to sign jwt token>
+SALT=<Salt must be in the form of: $Vers$log2(NumRounds)$saltvalue>
+# BDD
 MONGO_ROOT_PASSWORD=<mongo root user password>
 MONGO_NON_ROOT_USERNAME=<mongo non root username>
 MONGO_NON_ROOT_PASSWORD=<mongo non root user password>
@@ -10,21 +14,24 @@ MONGO_DB_HOST_AND_PORT=<host:port used by the api to connect to mongo db>
 ME_CONFIG_BASICAUTH_USERNAME=<mongo express username>
 ME_CONFIG_BASICAUTH_PASSWORD=<mongo express password>
 ME_PORT=<mongo express port>
-SALT=<Salt must be in the form of: $Vers$log2(NumRounds)$saltvalue>
+# External API
 MAIL_URL=<SEN API url>
 MAIL_TOKEN=<SEN API token>
 MAIL_CONTACT=<MAIL_CONTACT>
 MAIL_SOSTECH=<MAIL_SOSTECH>
+# Ghost 
 GHOST_PORT=<ghost port>
 GHOST_DB_PASSWORD=<ghost db password>
 GHOST_CONTENT_API_KEY=<Ghost global api key, can be found in integration part of ghost UI>
 GHOST_ADMIN_API_KEY=<Ghost admin api key, can be found in integration part of ghost UI>
 GHOST_HOST_AND_PORT=<Ghost host and port, ex:http://localhost:2368>
+# Dev var
 USER_PWD=<test user password, this password will be user by every test users>
-#Mailchimp
+# Mailchimp
 MC_API_KEY=<Mailchimp api key>
 MC_SERVER=<Mailchimp server>
 MC_LIST_ID=<Mailchimp list id>
+# Elastic Search
 ELASTICSEARCH_NODE=<elastic search container node>
 ELASTICSEARCH_PATH=<elastic search container path>
 ELASTICSEARCH_PORT=<elastic search port>
-- 
GitLab