summaryrefslogtreecommitdiff
path: root/.env.example
blob: b93cf90b10548c91ea3f88b31ae1906204814479 (plain)
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
# API Keys (REQUIRED)
# Get BOTH from https://trello.com/power-ups/admin
# 1. Create a Power-Up (or use existing one)
# 2. Go to "API Key" tab and click "Generate a new API Key"
# 3. Copy the API Key (NOT the Secret!)
# 4. In the API Key description, follow the "testing/for-yourself" instructions
# 5. Click the Token link to generate your personal token
# NOTE: You need API Key + Token, NOT the Secret
TRELLO_API_KEY=
TRELLO_TOKEN=

# API Keys (OPTIONAL)
# PlanToEat API is not publicly available - leave empty unless you have access
# PLANTOEAT_API_KEY=

# Google Calendar (OPTIONAL) — service-account auth, works because a calendar
# can be shared with any email including a service account's.
# GOOGLE_CREDENTIALS_FILE=/path/to/service-account.json
# GOOGLE_CALENDAR_ID=primary

# Google Tasks (OPTIONAL) — real user OAuth, NOT service-account auth. A
# service account has no path to a regular user's personal task lists (no
# equivalent of Calendar's sharing model), so this needs its own OAuth 2.0
# Client ID from Google Cloud Console (APIs & Services > Credentials >
# Create Credentials > OAuth client ID > Web application), with an
# Authorized redirect URI matching GOOGLE_OAUTH_REDIRECT_URL below exactly.
# Enable the Tasks API on the project, and if the OAuth consent screen is in
# "Testing" mode, add your own Google account as a test user. Once set,
# visit /settings in the running app and click "Connect Google Tasks".
# GOOGLE_OAUTH_CLIENT_ID=
# GOOGLE_OAUTH_CLIENT_SECRET=
# GOOGLE_OAUTH_REDIRECT_URL=https://doot.terst.org/settings/google-tasks/callback
# GOOGLE_TASKS_LIST_ID=@default

# Paths
# Database file location (relative or absolute path)
DATABASE_PATH=./dashboard.db

# Server Configuration
# Port for the HTTP server to listen on
PORT=8080

# Cache TTL in minutes (how long to keep cached API responses)
CACHE_TTL_MINUTES=5

# Development Settings
# Set to "true" to enable debug logging
DEBUG=false

# Service Gateway — additional upstream services proxied behind doot's auth + SSL
# Each service is exposed at /prefix/* and requires a logged-in session.
# To add a new service: set its URL here and register a mount in cmd/dashboard/main.go.
# CLAUDOMATOR_URL=http://127.0.0.1:8484    # already wired; override if running elsewhere
# PLAYGROUND_URL=http://127.0.0.1:9090     # playground demo (playground/web/server.py)