-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.local.example
More file actions
64 lines (52 loc) · 2.15 KB
/
.env.local.example
File metadata and controls
64 lines (52 loc) · 2.15 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
52
53
54
55
56
57
58
59
60
61
62
63
64
# Database
DATABASE_URL="file:./dev.db"
# NextAuth Configuration
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your-secret-key-here
# Ollama Configuration (IA Locale)
OLLAMA_BASE_URL=http://localhost:11434
OLLAMA_MODEL=llama3.2:3b
# Gmail API (Email Monitoring)
GMAIL_CLIENT_ID=your-client-id.apps.googleusercontent.com
GMAIL_CLIENT_SECRET=your-client-secret
GMAIL_REDIRECT_URI=http://localhost:3000/api/auth/callback/google
# GitHub App Configuration (User-to-Server Authentication)
GITHUB_APP_ID=your-github-app-id
GITHUB_APP_PRIVATE_KEY_PATH=./github-app-key.pem
GITHUB_WEBHOOK_SECRET=your-webhook-secret
GITHUB_REPOSITORY=your-username/your-repo
GITHUB_BRANCH_MAIN=main
# GitHub OAuth (User Authorization)
GITHUB_CLIENT_ID=your-github-oauth-client-id
GITHUB_CLIENT_SECRET=your-github-oauth-client-secret
GITHUB_CALLBACK_URL=http://localhost:3000/api/auth/callback/github
# Webhook Configuration
PUBLIC_WEBHOOK_URL=http://localhost:3000/api/webhooks/github
WEBHOOK_GITHUB_ENABLED=true
WEBHOOK_GITHUB_EVENTS=push,pull_request,issues
WEBHOOK_GITHUB_VERIFY_SSL=true
# API Légifrance PISTE Configuration
# Sandbox (Tests)
PISTE_SANDBOX_CLIENT_ID=your-sandbox-client-id
PISTE_SANDBOX_CLIENT_SECRET=your-sandbox-client-secret
PISTE_SANDBOX_OAUTH_URL=https://sandbox-oauth.piste.gouv.fr/api/oauth/token
PISTE_SANDBOX_API_URL=https://sandbox-api.piste.gouv.fr/dila/legifrance/lf-engine-app
# Production
PISTE_PROD_CLIENT_ID=your-production-client-id
PISTE_PROD_CLIENT_SECRET=your-production-client-secret
PISTE_PROD_OAUTH_URL=https://oauth.piste.gouv.fr/api/oauth/token
PISTE_PROD_API_URL=https://api.piste.gouv.fr/dila/legifrance/lf-engine-app
# Environnement actif (sandbox | production)
PISTE_ENVIRONMENT=sandbox
# Azure SDK Configuration
# Authentication (local dev via Azure CLI: `az login`, or Service Principal below)
# AZURE_TENANT_ID=your-tenant-id
# AZURE_CLIENT_ID=your-client-id
# AZURE_CLIENT_SECRET=your-client-secret
# Storage
# Required when using Azure Blob Storage helpers/routes
AZURE_STORAGE_ACCOUNT_NAME=your-storage-account
AZURE_STORAGE_CONTAINER=your-container-name
# Key Vault
# Required when using Key Vault helpers/routes
AZURE_KEY_VAULT_NAME=your-keyvault-name