# persona-api Service Configuration # Server SERVER_PORT=8001 SERVER_HOST=0.0.0.0 # App APP_NAME=persona-api APP_ENVIRONMENT=development APP_DEBUG=true # Logging LOG_LEVEL=debug LOG_FORMAT=text # Auth (set AUTH_ENABLED=true to require JWT for protected routes) AUTH_ENABLED=false JWT_SECRET=dev-secret-change-in-production # Required — server refuses to start with empty secret REGISTRATION_ENABLED=true # Email delivery (notify service) # When NOTIFY_URL is empty, auth codes are logged to stdout (dev mode). # NOTIFY_URL=https://notify.threesix.ai # NOTIFY_API_KEY=notify_send_xxx # NOTIFY_HOST=myapp.threesix.ai # NOTIFY_FROM=noreply@myapp.threesix.ai # Database (if needed) # Local dev: PostgreSQL via docker-compose. Production: CockroachDB (platform-provisioned). # The postgres:// scheme works for both — CockroachDB is wire-compatible. DATABASE_URL=postgres://dev:dev@localhost:5432/persona-community-5?sslmode=disable