# FCP integration-test Remnawave panel — TEST VALUES ONLY, never production.
# These secrets are deliberately fake; the stack is ephemeral (a fresh DB every
# `up`, so the bootstrap can always register the first admin). Mirrors Remnawave
# 2.x `.env.sample`. Brought up by docker-compose.remnawave-test.yml.
# Dev mode bypasses Remnawave's ProxyCheckMiddleware (which otherwise requires an
# HTTPS reverse proxy with x-forwarded-* headers). Lets the test reach the API over
# plain localhost HTTP. The API routes + DTOs it validates are identical either way.
NODE_ENV=development
APP_PORT=3000
METRICS_PORT=3001
API_INSTANCES=1

DATABASE_URL="postgresql://postgres:postgres@rw-test-db:5432/postgres"
REDIS_SOCKET=/var/run/valkey/valkey.sock

# 24+ char fake secrets (Remnawave requires non-empty JWT secrets to boot).
JWT_AUTH_SECRET=fcp_integration_test_only_jwt_auth_secret_do_not_use_in_prod
JWT_API_TOKENS_SECRET=fcp_integration_test_only_jwt_api_tokens_secret_do_not_use

IS_TELEGRAM_NOTIFICATIONS_ENABLED=false
TELEGRAM_BOT_TOKEN=change_me
TELEGRAM_NOTIFY_USERS=change_me
TELEGRAM_NOTIFY_NODES=change_me
TELEGRAM_NOTIFY_CRM=change_me
TELEGRAM_NOTIFY_SERVICE=change_me
TELEGRAM_NOTIFY_TBLOCKER=change_me

PANEL_DOMAIN=localhost:3000
FRONT_END_DOMAIN=*
SUB_PUBLIC_DOMAIN=localhost:3000/api/sub
SWAGGER_PATH=/docs
SCALAR_PATH=/scalar
IS_DOCS_ENABLED=false
METRICS_USER=admin
METRICS_PASS=admin

WEBHOOK_ENABLED=false
WEBHOOK_URL=https://example.com/endpoint
WEBHOOK_SECRET_HEADER=fcp_integration_test_only_webhook_secret_header_value_x

BANDWIDTH_USAGE_NOTIFICATIONS_ENABLED=false
BANDWIDTH_USAGE_NOTIFICATIONS_THRESHOLD=[60, 80]
NOT_CONNECTED_USERS_NOTIFICATIONS_ENABLED=false
NOT_CONNECTED_USERS_NOTIFICATIONS_AFTER_HOURS=[6, 24, 48]
EXPIRATION_NOTIFICATIONS_ENABLED=false
EXPIRATION_NOTIFICATIONS=[-72, -48, -24, 24]

POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=postgres
