Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
47 lines (40 loc) · 2.29 KB
/
Copy path.env.example
File metadata and controls
47 lines (40 loc) · 2.29 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
# Copy and supply your local database password. Never commit .env.
DATABASE_URL=postgres://taskflow:[email protected]:5432/taskflow?sslmode=disable
TASKFLOW_HTTP_ADDR=127.0.0.1:9090
# Local-only example; existing volumes retain their current password.
POSTGRES_PASSWORD=CHANGE_ME
TASKFLOW_ENV=development
# Browser login defaults to http://127.0.0.1:5173 in development.
# For localhost or another loopback port, set the exact frontend origin:
# TASKFLOW_PUBLIC_ORIGIN=http://localhost:5173
# Browser sessions require migration 14; HTTP cookies are loopback-development only.
# Production: exact https origin, trusted TLS terminator CIDRs, verify-full DB TLS.
# TASKFLOW_PUBLIC_ORIGIN=https://tasks.example.com
# TASKFLOW_TRUSTED_PROXIES=127.0.0.1/32,::1/128
# Opt in only after schema 11 and runtime grants are installed.
# One background DB connection; batches of 20, 30s normal scan interval.
TASKFLOW_RECURRENCE_ENABLED=false
# Public application identifiers; both empty disables Discord binding.
# Public key is the 64-character hex key from Developer Portal, NOT a bot token.
DISCORD_APPLICATION_ID=
DISCORD_PUBLIC_KEY=
# Bot token is only needed by the manual registration tool in this lesson:
# DISCORD_BOT_TOKEN_FILE=/absolute/private/path/bot-token
# Explicit opt-in: requires DISCORD_BOT_TOKEN_FILE; no messages when false.
TASKFLOW_DISCORD_SENDER_ENABLED=false
# Optional Today cache. Keep off in production until fault/permission tests and rollout are complete.
TASKFLOW_CACHE_ENABLED=false
# Redis lives on a private Docker network; these are container-side examples.
# REDIS_ADDR=taskflow-redis:6379
# REDIS_USERNAME=taskflow_cache
# REDIS_PASSWORD_FILE=/run/secrets/redis_password
# Server rollout: prepare_cache.py creates reviewed candidates; it never starts services.
# Use off -> connect (still off) -> enable; use off -> detach before removing Redis.
# Account mail requires schema 17 and runtime grants. No email is sent by default.
TASKFLOW_MAIL_ENABLED=false
# Production: verify your sending domain in Resend before enabling.
# TASKFLOW_MAIL_DRIVER=resend
# TASKFLOW_MAIL_FROM="TaskFlow <[email protected]>"
# TASKFLOW_MAIL_SECRET_FILE=/run/secrets/resend_api_key
# Keep the key in a private file, never in this file or Git.
# Development-only fake inbox (no external delivery): TASKFLOW_MAIL_DRIVER=memory