46 lines
1.6 KiB
Bash
46 lines
1.6 KiB
Bash
# DNS: A/AAAA records for both names must point to the deployment server.
|
|
SITE_DOMAIN=rf4spotter.ru
|
|
FILES_DOMAIN=files.rf4spotter.ru
|
|
ACME_EMAIL=admin@rf4spotter.ru
|
|
|
|
POSTGRES_DB=rf4_spotter
|
|
POSTGRES_USER=rf4
|
|
POSTGRES_PASSWORD=replace-with-long-random-value
|
|
# URL-encode special characters from POSTGRES_PASSWORD in this URL.
|
|
DATABASE_URL=postgresql+psycopg://rf4:replace-with-url-encoded-password@db:5432/rf4_spotter
|
|
APP_VERSION=0.1.0
|
|
APP_REVISION=replace-with-git-commit-sha
|
|
|
|
ADMIN_TOKEN=replace-with-at-least-32-random-characters
|
|
RATE_LIMIT_SECRET=replace-with-at-least-32-random-characters
|
|
ADMIN_BASIC_USER=rf4admin
|
|
# Generate with: docker run --rm caddy:2.10.2-alpine caddy hash-password --plaintext 'YOUR PASSWORD'
|
|
ADMIN_BASIC_PASSWORD_HASH='replace-with-caddy-password-hash'
|
|
|
|
MINIO_ROOT_USER=replace-with-private-root-access-key
|
|
MINIO_ROOT_PASSWORD=replace-with-private-root-password-32-chars
|
|
S3_ACCESS_KEY=replace-with-separate-app-access-key
|
|
S3_SECRET_KEY=replace-with-separate-app-secret-at-least-32-chars
|
|
S3_BUCKET=catch-screenshots
|
|
|
|
OFFICIAL_RECORDS_URL=https://rf4game.de/records/region/RU/
|
|
OFFICIAL_RECORDS_REGION=RU
|
|
OFFICIAL_RECORDS_CATEGORY=records
|
|
OFFICIAL_IMPORT_REQUIRED=false
|
|
IMPORT_INTERVAL_SECONDS=3600
|
|
|
|
# Data retention for the closed alpha; see docs/data-retention.md.
|
|
RETENTION_SUBMISSION_DAYS=1
|
|
RETENTION_UNREVIEWED_DAYS=30
|
|
RETENTION_APPROVED_PERSONAL_DAYS=180
|
|
RETENTION_STAGING_DAYS=90
|
|
RETENTION_AUDIT_DAYS=365
|
|
RETENTION_PUBLISHED_PAYLOAD_DAYS=365
|
|
|
|
# Host-side monitoring. BACKUP_ROOT must match the backup.sh destination.
|
|
BACKUP_ROOT=/srv/rf4-backups
|
|
MONITOR_DISK_MAX_PERCENT=85
|
|
MONITOR_TLS_MIN_DAYS=14
|
|
MONITOR_BACKUP_MAX_HOURS=26
|
|
LOG_LEVEL=INFO
|