fix: sac-deploy validate sac-api.env without bash source
Preflight pydantic parse catches inline comments in env values; alembic and stale remote_action reset use SAC_CONFIG_FILE. Document env format and ssh_known_hosts in runbook. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -128,6 +128,7 @@ SAC_MOBILE_REFRESH_EXPIRE_DAYS=90
|
||||
CORS_ORIGINS=https://sac.kalinamall.ru
|
||||
|
||||
# SSH: verify host keys (RejectPolicy). Add keys to file before remote actions.
|
||||
# Комментарий — только отдельной строкой с #. Нельзя: SAC_SSH_AUTO_ADD_HOST_KEY=false ← текст
|
||||
# SAC_SSH_KNOWN_HOSTS_FILE=/opt/security-alert-center/config/ssh_known_hosts
|
||||
# SAC_SSH_AUTO_ADD_HOST_KEY=false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user