-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (36 loc) · 1.33 KB
/
.env.example
File metadata and controls
44 lines (36 loc) · 1.33 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
# Database
DATABASE_URL=postgresql+asyncpg://leavebot:leavebot@localhost:5432/leavebot
DB_PASSWORD=your-secure-db-password # Used by docker-compose.prod.yml
# Slack
SLACK_BOT_TOKEN=xoxb-your-bot-token
SLACK_APP_TOKEN=xapp-your-app-token
SLACK_SIGNING_SECRET=your-signing-secret
SLACK_CHANNEL_ID=C12345678 # #wfh-leaves-ooo channel ID
# OpenAI
OPENAI_API_KEY=sk-your-api-key
OPENAI_MODEL=
# Google Calendar
# Base64 encoded service account JSON
GOOGLE_SERVICE_ACCOUNT_JSON_BASE64=eyJ0eXBlIjoi...
GOOGLE_CALENDAR_ID=your-calendar-id@group.calendar.google.com
# Harvest
HARVEST_ACCESS_TOKEN=your-harvest-access-token
HARVEST_ACCOUNT_ID=123456
HARVEST_PROJECT_ID=12345678
HARVEST_VACATION_TASK_ID=1234567
HARVEST_SICK_TASK_ID=1234568
# Bot Configuration
TRIGGER_KEYWORDS=leave,ooo,wfh,sick,vacation,pto,day off
DEFAULT_TIMEZONE=Asia/Kolkata
# Web Admin
WEB_HOST=0.0.0.0
WEB_PORT=8000
# Google OAuth (for web admin authentication)
# Create OAuth credentials at https://console.cloud.google.com/apis/credentials
GOOGLE_OAUTH_CLIENT_ID=your-client-id.apps.googleusercontent.com
GOOGLE_OAUTH_CLIENT_SECRET=your-client-secret
SESSION_SECRET_KEY=generate-a-random-secret-key-here
ALLOWED_EMAIL_DOMAIN=nilenso.com
OAUTH_REDIRECT_URI=http://localhost:8000/auth/callback
# Production (docker-compose.prod.yml)
# Domain is configured in gateway repo's Caddyfile