41 lines
845 B
Plaintext
41 lines
845 B
Plaintext
|
|
# Outline Wiki — /opt/homelab/config/outline/.env
|
||
|
|
# Both the `outline` and `postgres` containers read this file.
|
||
|
|
|
||
|
|
# Application
|
||
|
|
URL=https://outline.example.com
|
||
|
|
NODE_ENV=production
|
||
|
|
PORT=3000
|
||
|
|
FILE_STORAGE=local
|
||
|
|
FILE_STORAGE_LOCAL_ROOT_DIR=/var/lib/outline/data
|
||
|
|
FORCE_HTTPS=true
|
||
|
|
|
||
|
|
# Secrets — generate with: openssl rand -hex 32
|
||
|
|
SECRET_KEY=
|
||
|
|
UTILS_SECRET=
|
||
|
|
|
||
|
|
# Database
|
||
|
|
DATABASE_URL=postgres://outline:<password>@postgres:5432/outline
|
||
|
|
PGSSLMODE=disable
|
||
|
|
|
||
|
|
# Redis
|
||
|
|
REDIS_URL=redis://redis:6379
|
||
|
|
|
||
|
|
# Postgres sidecar vars (read by the postgres container)
|
||
|
|
POSTGRES_USER=outline
|
||
|
|
POSTGRES_DB=outline
|
||
|
|
POSTGRES_PASSWORD=
|
||
|
|
|
||
|
|
# Google OAuth (optional)
|
||
|
|
GOOGLE_CLIENT_ID=
|
||
|
|
GOOGLE_CLIENT_SECRET=
|
||
|
|
|
||
|
|
# SMTP
|
||
|
|
SMTP_HOST=
|
||
|
|
SMTP_PORT=587
|
||
|
|
SMTP_USERNAME=
|
||
|
|
SMTP_PASSWORD=
|
||
|
|
SMTP_FROM_EMAIL=outline@example.com
|
||
|
|
SMTP_REPLY_EMAIL=outline@example.com
|
||
|
|
SMTP_SECURE=false
|
||
|
|
ALLOWED_DOMAINS=
|