From 09b6880b41e80e6a06c8dd72a4a8e429ff0f00aa Mon Sep 17 00:00:00 2001
From: ValueOn AG
Date: Tue, 9 Sep 2025 16:01:39 +0200
Subject: [PATCH] access db
---
env_prod.env | 25 ++-----------------------
1 file changed, 2 insertions(+), 23 deletions(-)
diff --git a/env_prod.env b/env_prod.env
index e1fff4c5..cefbac51 100644
--- a/env_prod.env
+++ b/env_prod.env
@@ -5,13 +5,6 @@ APP_ENV_TYPE = prod
APP_ENV_LABEL = Production Instance
APP_API_URL = https://gateway.poweron-center.net
-# Database Configuration Application
-# JSON File Storage (current)
-# DB_APP_HOST=/home/_powerondb
-# DB_APP_DATABASE=app
-# DB_APP_USER=dev_user
-# DB_APP_PASSWORD_SECRET=dev_password
-
# PostgreSQL Storage (new)
DB_APP_HOST=gateway-prod-server.postgres.database.azure.com
DB_APP_DATABASE=gateway-app
@@ -19,13 +12,6 @@ DB_APP_USER=gzxxmcrdhn
DB_APP_PASSWORD_SECRET=prod_password_very_secure.2025
DB_APP_PORT=5432
-# Database Configuration Chat
-# JSON File Storage (current)
-# DB_CHAT_HOST=/home/_powerondb
-# DB_CHAT_DATABASE=chat
-# DB_CHAT_USER=gzxxmcrdhn
-# DB_CHAT_PASSWORD_SECRET=dev_password
-
# PostgreSQL Storage (new)
DB_CHAT_HOST=gateway-prod-server.postgres.database.azure.com
DB_CHAT_DATABASE=gateway-chat
@@ -33,17 +19,10 @@ DB_CHAT_USER=gzxxmcrdhn
DB_CHAT_PASSWORD_SECRET=prod_password_very_secure.2025
DB_CHAT_PORT=5432
-# Database Configuration Management
-# JSON File Storage (current)
-# DB_MANAGEMENT_HOST=/home/_powerondb
-# DB_MANAGEMENT_DATABASE=gateway-management
-# DB_MANAGEMENT_USER=gzxxmcrdhn
-# DB_MANAGEMENT_PASSWORD_SECRET=dev_password
-
# PostgreSQL Storage (new)
DB_MANAGEMENT_HOST=gateway-prod-server.postgres.database.azure.com
DB_MANAGEMENT_DATABASE=gateway-management
-DB_MANAGEMENT_USER=poweron_prod
+DB_MANAGEMENT_USER=gzxxmcrdhn
DB_MANAGEMENT_PASSWORD_SECRET=prod_password_very_secure.2025
DB_MANAGEMENT_PORT=5432
@@ -52,7 +31,7 @@ APP_JWT_SECRET_SECRET=dev_jwt_secret_token
APP_TOKEN_EXPIRY=300
# CORS Configuration
-APP_ALLOWED_ORIGINS=http://localhost:8080,https://playground.poweron-center.net,http://localhost:5176,https://nyla-int.poweron-center.net
+APP_ALLOWED_ORIGINS=http://localhost:8080,https://playground.poweron-center.net,https://playground-int.poweron-center.net,http://localhost:5176,https://nyla.poweron-center.net,https://nyla-int.poweron-center.net
# Logging configuration
APP_LOGGING_LOG_LEVEL = INFO