-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
27 lines (24 loc) · 1.08 KB
/
Copy pathenv.example
File metadata and controls
27 lines (24 loc) · 1.08 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
# env.example
#
# Copy this to .env and fill in the values.
# Docker Compose reads this file for all services.
#
# Auth and API keys live in app/.env.local (gitignored). Docker Compose
# loads both .env and app/.env.local for the production app service.
# --- Database (used by both Docker Compose and the app) ---
# connection_limit: max pool size (default = num_cpus * 2 + 1, often too low on NAS)
# pool_timeout: seconds to wait for a free connection before erroring (default 10)
DATABASE_URL=postgresql://dbuser_fbc:your-password-here@db:5432/fbc_dev_db?connection_limit=20&pool_timeout=10
POSTGRES_USER=dbuser_fbc
POSTGRES_PASSWORD=your-password-here
POSTGRES_DB=fbc_dev_db
# --- app/.env.local (create this file separately) ---
# GOOGLE_CLIENT_ID=...
# GOOGLE_CLIENT_SECRET=...
# NEXTAUTH_SECRET=...
# NEXTAUTH_URL=http://your-synology-ip:8080
# --- Automated Gmail Import ---
# Service account key file (mounted via docker-compose volume)
# GMAIL_SERVICE_ACCOUNT_PATH=/app/config/service-account.json
# GMAIL_IMPERSONATE_EMAIL=you@example.com
# AUTO_IMPORT_API_KEY=<random-64-char-hex-string>