-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
46 lines (38 loc) · 1.51 KB
/
Copy path.env.example
File metadata and controls
46 lines (38 loc) · 1.51 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
38
39
40
41
42
43
44
45
46
## Database
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/cocktail_recipe"
## Authentication – Google OAuth
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
BETTER_AUTH_URL=http://localhost:3000
BETTER_AUTH_SECRET=ChangeThisSecretInProduction
## Chromium (used for PDF generation)
CHROMIUM_HOST=localhost
## Authentication – Custom OIDC (optional)
# CUSTOM_OIDC_NAME=
# CUSTOM_OIDC_ISSUER_URL=
# CUSTOM_OIDC_CLIENT_ID=
# CUSTOM_OIDC_CLIENT_SECRET=
# CUSTOM_OIDC_SCOPES=
# CUSTOM_OIDC_ID_KEY=
# CUSTOM_OIDC_NAME_KEY=
# CUSTOM_OIDC_EMAIL_KEY=
# CUSTOM_OIDC_GROUPS_KEY=groups
## External workspace management (optional, for OIDC-based workspace mapping)
# EXTERNAL_WORKSPACE_MANAGEMENT=false
# EXTERNAL_WORKSPACE_MAPPINGS=[{"workspaceId": "ws-id", "workspaceName": "My Workspace", "mappings": [{"oidcGroup": "group-name", "role": "ADMIN"}]}]
## SMTP / Email (optional, for sending emails)
# SMTP_HOST=smtp.example.com
# SMTP_PORT=587
# SMTP_SECURE=true
# MAIL_FROM=noreply@example.com
# EMAIL_TEMPLATE_CONFIG=
## External workspace creation (optional, for delegating workspace creation to an external service)
# EXTERNAL_WORKSPACE_CREATION_URL=https://example.com/api/create-workspace
# EXTERNAL_WORKSPACE_CREATION_TOKEN=your-secret-token
## Workspace creation control
# DISABLE_WORKSPACE_CREATION=false
# WORKSPACE_CREATION_DISABLED_MESSAGE=Workspace creation is currently disabled.
## Demo mode (optional, for running a public demo instance)
# DEMO_MODE=false
# DEMO_WORKSPACE_CONFIG_PATH=./demo-config.json
# DEMO_TTL_HOURS=24