From 8064a3a89f819e001531e2a66cfb755840c735cc Mon Sep 17 00:00:00 2001
From: Benjamin Ledel <benjamin.ledel@digitallearning.gmbh>
Date: Tue, 10 Oct 2023 09:42:48 +0200
Subject: [PATCH] Update file .env.sample

---
 analytics-engine/.env.sample | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/analytics-engine/.env.sample b/analytics-engine/.env.sample
index e70b193..eec2cef 100644
--- a/analytics-engine/.env.sample
+++ b/analytics-engine/.env.sample
@@ -1,11 +1,11 @@
-DYNACONF_SQLALCHEMY_DATABASE_URI=postgresql://postgres:CHANGE_ME@database/analytics-engine
-DYNACONF_CELERY_BROKER_URL=redis://:CHANGE_ME@redis_db:6379/0
-DYNACONF_CELERY_RESULT_BACKEND=redis://:CHANGE_ME@redis_db:6379/1
-DYNACONF_ANALYTICS_BACKEND_URL=http://scheduler:5000
-DYNACONF_RIGHTS_ENGINE_BACKEND_URL=http://localhost:80/
-WEBSITE=analytics
-URL=$DEPLOYMENT_URL
-REDIS_PASSWORD=CHANGE_ME
+DYNACONF_SQLALCHEMY_DATABASE_URI=postgresql://postgres:CHANGE_ME@database/analytics-engine # the password should match with POSTGRES_PASSWORD
+DYNACONF_CELERY_BROKER_URL=redis://:CHANGE_ME@redis_db:6379/0 # the password should match with the REDIS_PASSWORD
+DYNACONF_CELERY_RESULT_BACKEND=redis://:CHANGE_ME@redis_db:6379/1 # the password should match with the REDIS_PASSWORD
+DYNACONF_ANALYTICS_BACKEND_URL=http://scheduler:5000 # no changes needed
+DYNACONF_RIGHTS_ENGINE_BACKEND_URL=http://localhost:80/ # url of the rights engine
+WEBSITE=analytics # traefik configuration 
+URL=$DEPLOYMENT_URL # traefik configuration
+REDIS_PASSWORD=CHANGE_ME 
 POSTGRES_USER=postgres
 POSTGRES_DATABASE=analytics-engine
 POSTGRES_PASSWORD=CHANGE_ME
-- 
GitLab