-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.env.example
More file actions
44 lines (37 loc) · 1.65 KB
/
.env.example
File metadata and controls
44 lines (37 loc) · 1.65 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
# === GitHub OAuth App (Device Flow) ===
# Register at: https://github.com/settings/developers → New OAuth App
# Only the Client ID is needed — no client secret required.
GITHUB_CLIENT_ID="YOUR_GITHUB_CLIENT_ID_HERE"
# === Session Management ===
# Generate with: openssl rand -hex 32
SESSION_SECRET="your-random-session-secret-here"
# === Server Configuration ===
PORT=3000
HOST=0.0.0.0
SESSION_TTL=86400000
# === Copilot CLI Integration (optional) ===
# Set to enable local CLI password for authentication
# COPILOT_CLI_PASSWORD=your-password-here
# === Shared CLI Session State (optional) ===
# Set to share session state with the Copilot CLI.
# Example: ~/.copilot (matches the CLI's default config directory)
# COPILOT_CONFIG_DIR=~/.copilot
# === Push Notifications (optional) ===
# Generate keys with: node scripts/generate-vapid-keys.mjs
# iOS push requires the app to be installed as a PWA (Add to Home Screen in Safari).
# VAPID_PUBLIC_KEY=your-vapid-public-key-here
# VAPID_PRIVATE_KEY=your-vapid-private-key-here
# VAPID_SUBJECT=mailto:admin@example.com
# === Custom Data Paths (optional, defaults shown) ===
# Override where chat history and push subscriptions are stored.
# CHAT_STATE_PATH=.chat-state
# PUSH_STORE_PATH=.push-subscriptions
# === Azure Deployment (optional) ===
# Required only for Azure Container Apps deployment via azd
# AZURE_ENV_NAME="copilot-unleashed"
# AZURE_LOCATION="italynorth"
# AZURE_SUBSCRIPTION_ID="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
# SERVICE_WEB_RESOURCE_EXISTS="false"
# AZURE_CLIENT_ID="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
# AZURE_TENANT_ID="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
# AZURE_CLIENT_SECRET="your-azure-client-secret"