# SQLite (default) DB_URI=sqlite:./db.sqlite # or Postgres # DB_URI=postgres://nao:nao@localhost:8888/nao # Enable SQL query logging (set to 'true' to enable) # DB_QUERY_LOGGING=true # Chat app port (optional) SERVER_PORT=5005 # Docker Postgres POSTGRES_USER=nao POSTGRES_PASSWORD=nao POSTGRES_DB=nao # Auth BETTER_AUTH_SECRET= #run `openssl rand -base64 32` to generate # Public URL of your app (used for authentication, trusted origins, and Slack redirects) BETTER_AUTH_URL=http://localhost:3000 # LLM providers OPENAI_API_KEY=sk-123456789 ANTHROPIC_API_KEY=sk-123456789 # AWS Bedrock # AWS_BEARER_TOKEN_BEDROCK=your-bearer-token # AWS_REGION=us-east-1 # Or use IAM credentials instead: # AWS_ACCESS_KEY_ID=your-access-key # AWS_SECRET_ACCESS_KEY=your-secret-key # App metadata (optional) APP_VERSION=dev APP_COMMIT=unknown APP_BUILD_DATE= # Context folder (to change for your setup) NAO_DEFAULT_PROJECT_PATH=/Users/blef/Work/naolabs/chat/example # SMTP server Configuration SMTP_HOST= # smtp.yourservice.com SMTP_SSL=false SMTP_PORT= # Default to 587 SMTP_MAIL_FROM= SMTP_PASSWORD= # GOOGLE OAuth Configuration GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET= GOOGLE_AUTH_DOMAINS= # GITHUB OAuth Configuration (used for PR preview deployments) # Create an OAuth app at https://github.com/settings/developers GITHUB_CLIENT_ID= GITHUB_CLIENT_SECRET= # Comma-separated list of GitHub usernames allowed to sign in # In CI, the PR author is appended automatically GITHUB_ALLOWED_USERS= # Role assigned to new users joining via social auth (admin or user, defaults to user) # DEFAULT_USER_ROLE=user NOTION_API_KEY= # ClickHouse (optional; use in nao_config.yaml with env() or for connection) CLICKHOUSE_HOST=localhost CLICKHOUSE_PORT=8123 CLICKHOUSE_DATABASE=default CLICKHOUSE_USER=default CLICKHOUSE_PASSWORD=admin CLICKHOUSE_SECURE=false # Tracking (optional) POSTHOG_KEY=phc_123 POSTHOG_HOST=https://eu.i.posthog.com POSTHOG_DISABLED=false # (used to opt-out of tracking)