48 lines
1.7 KiB
Bash
48 lines
1.7 KiB
Bash
# Production Environment Configuration
|
|
|
|
# System Configuration
|
|
APP_ENV_TYPE = prod
|
|
APP_ENV_LABEL = Production Instance
|
|
APP_API_URL = https://gateway.poweron-center.net
|
|
|
|
# PostgreSQL Storage (new)
|
|
DB_APP_HOST=gateway-prod-server.postgres.database.azure.com
|
|
DB_APP_DATABASE=gateway-app
|
|
DB_APP_USER=gzxxmcrdhn
|
|
DB_APP_PASSWORD_SECRET=prod_password_very_secure.2025
|
|
DB_APP_PORT=5432
|
|
|
|
# PostgreSQL Storage (new)
|
|
DB_CHAT_HOST=gateway-prod-server.postgres.database.azure.com
|
|
DB_CHAT_DATABASE=gateway-chat
|
|
DB_CHAT_USER=gzxxmcrdhn
|
|
DB_CHAT_PASSWORD_SECRET=prod_password_very_secure.2025
|
|
DB_CHAT_PORT=5432
|
|
|
|
# PostgreSQL Storage (new)
|
|
DB_MANAGEMENT_HOST=gateway-prod-server.postgres.database.azure.com
|
|
DB_MANAGEMENT_DATABASE=gateway-management
|
|
DB_MANAGEMENT_USER=gzxxmcrdhn
|
|
DB_MANAGEMENT_PASSWORD_SECRET=prod_password_very_secure.2025
|
|
DB_MANAGEMENT_PORT=5432
|
|
|
|
# Security Configuration
|
|
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,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
|
|
APP_LOGGING_LOG_FILE = /home/site/wwwroot/poweron.log
|
|
APP_LOGGING_FORMAT = %(asctime)s - %(levelname)s - %(name)s - %(message)s
|
|
APP_LOGGING_DATE_FORMAT = %Y-%m-%d %H:%M:%S
|
|
APP_LOGGING_CONSOLE_ENABLED = True
|
|
APP_LOGGING_FILE_ENABLED = True
|
|
APP_LOGGING_ROTATION_SIZE = 10485760
|
|
APP_LOGGING_BACKUP_COUNT = 5
|
|
|
|
# Service Redirects
|
|
Service_MSFT_REDIRECT_URI = https://gateway.poweron-center.net/api/msft/auth/callback
|
|
Service_GOOGLE_REDIRECT_URI = https://gateway.poweron-center.net/api/google/auth/callback
|