# ----------------------------------------------- # REQUIRED: Change these before starting # ----------------------------------------------- # The public URL where Outline will be accessible URL=http://localhost:3000 # Generate two random secrets, e.g. with: openssl rand -hex 32 SECRET_KEY=CHANGE_ME_generate_with_openssl_rand_hex_32 UTILS_SECRET=CHANGE_ME_generate_with_openssl_rand_hex_32 # ----------------------------------------------- # 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