From c7cf63e7deaa8b4600c9cae2e7b54cab404c5c32 Mon Sep 17 00:00:00 2001 From: ImanThiyanga Date: Wed, 16 Sep 2026 23:47:47 +0530 Subject: [PATCH] initiating connection fixes --- deploy/env/erpcore.env.example | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 deploy/env/erpcore.env.example diff --git a/deploy/env/erpcore.env.example b/deploy/env/erpcore.env.example deleted file mode 100644 index 1e39b2d..0000000 --- a/deploy/env/erpcore.env.example +++ /dev/null @@ -1,34 +0,0 @@ -# /etc/erpcore/erpcore.env — settings + secrets for erpcore.service (production, erp.hexdive.com). -# -# Create once (docs/40-DEPLOYMENT.md, "Active" A.2): -# install -m 640 -o root -g erp deploy/env/erpcore.env.example /etc/erpcore/erpcore.env -# then replace every CHANGE_ME / . Never commit real values. -# -# Format rules (systemd EnvironmentFile, not a shell): -# • comments only on their own line — a trailing "# ..." becomes part of the value -# • ':' in a .NET config key becomes '__' -# • wrap a value in double quotes if it contains spaces, quotes or backslashes -# After editing: Actions → "CI/CD - ERP Core" → Run workflow with deploy_backend. -# (The test environment is on hold — see deploy/on-hold/README.md.) - -ASPNETCORE_ENVIRONMENT=Production -# Must match deploy/apache/erp.hexdive.com.conf and BACKEND_PORT in .gitea/workflows/ci-cd.yml -ASPNETCORE_URLS=http://127.0.0.1:5220 - -ConnectionStrings__DefaultConnection=Host=127.0.0.1;Port=5432;Database=ERPCore;Username=erpcore;Password=CHANGE_ME - -AuthHex__BaseUrl=http://127.0.0.1: -# Door policy — set the real AuthHex user type / role codes. -Auth__RequiredUserTypeCode= -Auth__RequiredRoleCode= - -GeneralLedgerService__BaseUrl=http://127.0.0.1:/api/v1/ -GeneralLedgerService__ApiKey=CHANGE_ME - -# MUST be absolute and OUTSIDE /home/erp/core/publish — every backend deploy empties that folder. -# The workflow's "Guard data paths" step refuses to deploy otherwise. -FileStorage__RootPath=/var/lib/erpcore/hr-documents -LogFile__Path=/var/log/erpcore/erpcore-.log - -# Production never seeds demo data. -Seed__DemoData=false