6b288bfa49
Replace sac.kalinamall.ru with sac.example.com in public docs/deploy. Remove Push-Mirror and Rewrite-GitHostUrls scripts from repo. Simplify workspace-three-repos.md for GitHub-only workflow. Co-authored-by: Cursor <cursoragent@cursor.com>
31 lines
944 B
Bash
31 lines
944 B
Bash
# Только для Docker Compose (см. docs/install-ubuntu-24.04-docker.md).
|
|
# Production native: deploy/env.native.example → /opt/security-alert-center/config/sac-api.env
|
|
|
|
# PostgreSQL
|
|
POSTGRES_USER=sac
|
|
POSTGRES_PASSWORD=change-me-long-random
|
|
POSTGRES_DB=sac
|
|
|
|
# API (публичный URL для ссылок в ответах ingest)
|
|
SAC_PUBLIC_URL=https://sac.example.com
|
|
SAC_API_PORT=8000
|
|
|
|
# JWT (UI — позже)
|
|
JWT_SECRET=change-me-openssl-rand-hex-32
|
|
|
|
# Первый API key для агентов (заголовок: Authorization: Bearer <ключ>)
|
|
# Сгенерировать: python -c "import secrets; print('sac_'+secrets.token_urlsafe(32))"
|
|
SAC_BOOTSTRAP_API_KEY=sac_replace_with_generated_key
|
|
|
|
# Admin UI (фаза 1C)
|
|
SAC_ADMIN_USERNAME=admin
|
|
SAC_ADMIN_PASSWORD=
|
|
|
|
# Telegram notifications from SAC (phase 1C.4)
|
|
TELEGRAM_ENABLED=false
|
|
TELEGRAM_BOT_TOKEN=
|
|
TELEGRAM_CHAT_ID=
|
|
TELEGRAM_MIN_SEVERITY=high
|
|
|
|
CORS_ORIGINS=*
|