57 lines
1.8 KiB
Bash
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=h8nwjjqc6nb5fx3plgqlfbs6rtxa9wk0e5vq3z0uw3ymfuasq36xlfrfviwz7pxv
|
|
UTILS_SECRET=1bxicr74apz6z7belco9mjd94ilb5b4r0l5skigjg33w5x173pls9gjmudyw23kg
|
|
|
|
# -----------------------------------------------
|
|
# 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=http://localhost:5556/dex/auth
|
|
OIDC_TOKEN_URI=http://dex:5556/dex/token
|
|
OIDC_USERINFO_URI=http://dex:5556/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
|