Revert "Merge pull request 'Dev' (#60) from Dev into production"

This reverts commit 01fc2582b6, reversing
changes made to 821e96e011.
This commit is contained in:
2026-09-17 11:25:33 +05:30
parent 01fc2582b6
commit efb37fce7a
7 changed files with 87 additions and 204 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ npm run dev
## Configuration & secrets
- `appsettings.json` is committed and holds **no secrets**; environment-specific values are blank there.
- Local: `appsettings.Development.json` (git-ignored, from the `.example`). Deployed (production): set in the `env:` block of `.gitea/workflows/ci-cd.yml`; the deploy generates `appsettings.Production.json` from it on each run, with the DB password and GL API key coming from Gitea secrets — outside Development the API refuses to start when a required key is missing.
- Local: `appsettings.Development.json` (git-ignored, from the `.example`). Deployed (production): environment variables in `/etc/erpcore/erpcore.env` on the server — outside Development the API refuses to start when a required key is missing.
- Details and the full key list: `docs/40-DEPLOYMENT.md §5`. Credentials committed in the past must be rotated (`docs/02-SECURITY.md` AR-06).
## Deployment