Monitoring stack (Prometheus, AlertManager, Grafana, Loki, Uptime Kuma) moved from main to tools server. Prometheus now scrapes main exporters over network (ip_main:9100/8080). Promtail pushes logs to ip_tools:3100. Traefik routes for dash/status.walava.io updated to ip_tools. discord-bot PROMETHEUS_URL updated to http://ip_tools:9090. Outline S3 fix: remove AWS_S3_ACL=private (Timeweb doesn't support per-object ACLs — caused upload failures). Add CORS configuration task for browser-side presigned uploads. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
41 lines
976 B
Django/Jinja
41 lines
976 B
Django/Jinja
# Outline env — generated by Ansible
|
|
NODE_ENV=production
|
|
SECRET_KEY={{ outline_secret_key }}
|
|
UTILS_SECRET={{ outline_utils_secret }}
|
|
|
|
# Database
|
|
DATABASE_URL=postgres://outline:{{ outline_db_password }}@outline-db:5432/outline
|
|
PGSSLMODE=disable
|
|
|
|
# Redis
|
|
REDIS_URL=redis://outline-redis:6379
|
|
|
|
# App URL
|
|
URL=https://{{ domain_wiki }}
|
|
PORT=3000
|
|
|
|
# S3 file storage (Timeweb Object Storage)
|
|
AWS_ACCESS_KEY_ID={{ s3_access_key }}
|
|
AWS_SECRET_ACCESS_KEY={{ s3_secret_key }}
|
|
AWS_REGION=ru-1
|
|
AWS_S3_UPLOAD_BUCKET_NAME=walava-outline
|
|
AWS_S3_UPLOAD_BUCKET_URL=https://s3.timeweb.cloud
|
|
AWS_S3_FORCE_PATH_STYLE=true
|
|
FILE_STORAGE=s3
|
|
|
|
# Auth
|
|
AUTH_PROVIDERS=email
|
|
|
|
# SMTP via Resend (direct — main server has outbound SMTP)
|
|
SMTP_HOST=smtp.resend.com
|
|
SMTP_PORT=587
|
|
SMTP_USERNAME=resend
|
|
SMTP_PASSWORD={{ resend_api_key }}
|
|
SMTP_FROM_EMAIL=noreply@{{ domain_base }}
|
|
SMTP_FROM_NAME=Visual Wiki
|
|
SMTP_SECURE=false
|
|
|
|
# Optional
|
|
DEFAULT_LANGUAGE=en_US
|
|
RATE_LIMITER_ENABLED=true
|
|
ENABLE_UPDATES=false
|