36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
# Database credentials (used by both db and web services in docker-compose.yml)
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=postgres
|
|
POSTGRES_DB=qrmaster
|
|
|
|
# Note: DATABASE_URL and DIRECT_URL are auto-generated from POSTGRES_* vars in docker-compose.yml
|
|
# You don't need to set them here when using Docker Compose
|
|
NODE_ENV=production
|
|
PORT=3000
|
|
NEXTAUTH_URL=http://localhost:3000
|
|
NEXTAUTH_SECRET=CHANGE_ME
|
|
NEXT_PUBLIC_APP_URL=http://localhost:3000
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
REDIS_URL=redis://redis:6379
|
|
IP_SALT=CHANGE_ME_SALT
|
|
ENABLE_DEMO=true
|
|
|
|
# SMTP (for welcome + retention emails via nodemailer)
|
|
SMTP_HOST=smtp.qrmaster.net
|
|
SMTP_PORT=465
|
|
SMTP_USER=timo@qrmaster.net
|
|
SMTP_PASS=
|
|
|
|
# Cron job protection — generate with: openssl rand -base64 32
|
|
CRON_SECRET=
|
|
|
|
# TikTok OAuth / posting (server-side only)
|
|
# Source of truth for cron posting: QRMaster server .env
|
|
# Production example: https://qrmaster.net/api/tiktok/callback
|
|
# Local dev example: http://localhost:3000/api/tiktok/callback
|
|
# Tokens are saved in the DB after the OAuth callback; do not store access tokens here.
|
|
TIKTOK_CLIENT_KEY=aw2l7czcin3uk426
|
|
TIKTOK_CLIENT_SECRET=LapujWkqpZfj1jgWBeCzFhw2nuhMPMBA
|
|
TIKTOK_REDIRECT_URI=https://qrmaster.net/api/tiktok/callback
|
|
TIKTOK_ADMIN_KEY=yV0CzlXyw00kFc7hnnJZv_eoH5WaqGsD5l8_GH7Aj2s |