-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.template
More file actions
51 lines (41 loc) · 2.13 KB
/
.env.template
File metadata and controls
51 lines (41 loc) · 2.13 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
47
48
49
50
51
# ─────────────────────────────────────────
# Simple Contacts – Environment Variables
# ─────────────────────────────────────────
# Flask secret key (change in production!)
SECRET_KEY=change-me-in-production
# Application password for the login page
# Only used when SSO is NOT configured (see below).
APP_PASSWORD=admin
# Port for the Flask / Gunicorn server
PORT=5000
# Gunicorn worker count (production)
GUNICORN_WORKERS=2
# ─────────────────────────────────────────
# Azure AD SSO (recommended – primary login)
# ─────────────────────────────────────────
# Register a **separate** App Registration in Entra ID
# for Single Sign-On. When configured, the password
# form is auto-disabled and users sign in with Microsoft.
#
# Redirect URI (Web): https://your-domain/auth/callback
# API Permissions: User.Read (Delegated)
# SSO_TENANT_ID=
# SSO_CLIENT_ID=
# SSO_CLIENT_SECRET=
# SSO_REDIRECT_PATH=/auth/callback
# ─────────────────────────────────────────
# Azure AD / Microsoft Graph (optional)
# ─────────────────────────────────────────
# Required for "Sync from Azure AD" feature.
# Create an App Registration in Azure and grant
# User.Read.All (Application) permission.
# AZURE_TENANT_ID=
# AZURE_CLIENT_ID=
# AZURE_CLIENT_SECRET=
# Override Graph API base URL (rarely needed)
# GRAPH_API_ENDPOINT=https://graph.microsoft.com/v1.0
# ─────────────────────────────────────────
# Limits
# ─────────────────────────────────────────
# Maximum number of custom directory contacts
MAX_CUSTOM_CONTACTS=200