Files
svhs 98f066ea9f Update outline.env
Wanted to move dex to different stack, thats the plan
2026-04-22 13:59:34 +02:00

57 lines
1.8 KiB
Bash

# -----------------------------------------------
# REQUIRED: Change these before starting
# -----------------------------------------------
# The public URL where Outline will be accessible
URL=https://wiki.sgu.hu
# Generate two random secrets, e.g. with: openssl rand -hex 32
SECRET_KEY=6fb68a566cd26635de5a543434bced68aea18273445b3265a993c868c57cce7e
UTILS_SECRET=b376784edb00be7fb98b261b01b8bad78277b5f8cb509f9ff43fe005cd99c4a9
# -----------------------------------------------
# Database & Cache
# -----------------------------------------------
DATABASE_URL=postgres://outline:outlinepass@postgres:5432/outline
PGSSLMODE=disable
REDIS_URL=redis://redis:6379
# -----------------------------------------------
# File Storage (local disk)
# -----------------------------------------------
FILE_STORAGE=local
FILE_STORAGE_LOCAL_ROOT_DIR=/var/lib/outline/data
FILE_STORAGE_UPLOAD_MAX_SIZE=262144000
# -----------------------------------------------
# Authentication (Dex OIDC)
# -----------------------------------------------
OIDC_CLIENT_ID=outline
OIDC_CLIENT_SECRET=outline-secret
OIDC_AUTH_URI=https://dex.sgu.hu/dex/auth
OIDC_TOKEN_URI=https://dex.sgu.hu/dex/token
OIDC_USERINFO_URI=https://dex.sgu.hu/dex/userinfo
OIDC_USERNAME_CLAIM=preferred_username
OIDC_DISPLAY_NAME=Login
OIDC_SCOPES=openid profile email
# -----------------------------------------------
# Optional: SMTP (for magic link emails)
# -----------------------------------------------
# SMTP_HOST=smtp.example.com
# SMTP_PORT=587
# SMTP_USERNAME=you@example.com
# SMTP_PASSWORD=yourpassword
# SMTP_FROM_EMAIL=outline@example.com
# SMTP_SECURE=false
# -----------------------------------------------
# App settings
# -----------------------------------------------
NODE_ENV=production
FORCE_HTTPS=false
ENABLE_UPDATES=true
WEB_CONCURRENCY=1
LOG_LEVEL=info
PORT=3000