mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-17 12:59:25 +00:00
Support --migrate-only startup and secrets handling
Add a Timeweb deployment guide and improve secret handling and migrations. - docs/timeweb-deployment.md: deployment and migration instructions for Timeweb. - .gitignore: ignore a secrets/ folder. - Govor.API.csproj: ensure secrets/** are not copied to output/publish. - Program.cs: add --migrate-only flag (removes it from args), skip Firebase init when migrating, accept Firebase credentials via CredentialsJson or CredentialsPath/GOOGLE_APPLICATION_CREDENTIALS, resolve relative paths against content root, apply pending EF Core migrations and exit while logging progress. Normal API startup behaviour unchanged (migrations are applied only with --migrate-only).
This commit is contained in:
@@ -46,6 +46,7 @@ appsettings.*.json
|
||||
*.log
|
||||
logs/
|
||||
uploads/
|
||||
secrets/
|
||||
|
||||
## Папки для публикации
|
||||
publish/
|
||||
|
||||
Reference in New Issue
Block a user