Repository navigation
Expand file tree
/
Copy pathexample.env
More file actions
37 lines (27 loc) · 1.54 KB
/
Copy pathexample.env
File metadata and controls
37 lines (27 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# =============================================================================
# strands-compose-chat — configuration for working on this repository.
# Copy to ".env" in the repository root. Deploying instead? See examples/.
# =============================================================================
# --- MANDATORY ---------------------------------------------------------------
# Session cookie signing key, at least 32 bytes:
# python -c "import secrets; print(secrets.token_urlsafe(32))"
SESSION_SECRET_KEY=
# --- COMMON ------------------------------------------------------------------
# dev | test | prod. Keep "dev" to allow SQLite and cookies over plain http.
APP_ENV=dev
# First-run admin account. Both are required, or no admin is created.
ADMIN_BOOTSTRAP_USERNAME=admin
ADMIN_BOOTSTRAP_PASSWORD=changeme # pragma: allowlist secret
# Defaults to SQLite (./strands-chat.sqlite). Run `scc migrate` after changing it.
# DATABASE_URL=postgresql+psycopg://user:password@localhost:5432/dbname # pragma: allowlist secret
# LOG_LEVEL=DEBUG
# LOG_FORMAT=json
# CUSTOM_HEADER_TITLE=My Chat
# --- OPTIONAL — OIDC single sign-on ------------------------------------------
# List the provider ids; each reads its own OIDC_<ID>_* variables.
# OIDC_PROVIDERS=["entra"]
# OIDC_REDIRECT_URI=http://localhost:8000/auth/callback
# OIDC_ENTRA_DISPLAY_NAME=Microsoft Entra
# OIDC_ENTRA_DISCOVERY_URL=https://login.microsoftonline.com/<tenant-id>/v2.0/.well-known/openid-configuration
# OIDC_ENTRA_CLIENT_ID=<client-id>
# OIDC_ENTRA_CLIENT_SECRET=<client-secret>