# RustBox Docker Compose defaults. # Copy to docker/.env if you want persistent local values: # cp .env.example .env # Secrets below are development examples only. Change them outside local testing. # Application HTTP listener and published host port. HOST=0.0.0.0 PORT=3001 # Mail servers used by RustBox. IMAP_HOST=mail.example.com IMAP_PORT=993 SMTP_HOST=mail.example.com SMTP_PORT=587 TLS_ENABLED=true # Application logging. RUST_LOG=warn,rustbox=info,tower_http=info # Shared session encryption key. Required to be identical on all RustBox nodes. # Replace for any non-local deployment. SESSION_ENCRYPTION_KEY=MDEyMzQ1Njc4OWFiY2RlZjAxMjM0NTY3ODlhYmNkZWY= # PostgreSQL variant. POSTGRES_PASSWORD=rustbox-dev-password # S3/SILO variant. S3_ACCESS_KEY=rustbox S3_SECRET_KEY=rustbox-s3-dev-password # HA/Garage variant. Development credentials only; replace outside local testing. GARAGE_ACCESS_KEY_ID=GKb69252a3b0643e8bd08d4cd4 GARAGE_SECRET_ACCESS_KEY=9115be9c9e4994306a4176543b0db461f4eb04c5c8a388676d1b57392d0f4e93 GARAGE_CAPACITY=10G SIEVE_ENABLED=false DIAGNOSTICS_ENABLED=true ABOUT_ENABLED=true SECURITY_HEADERS_ENABLED=false # MySQL variant. MYSQL_PASSWORD=rustbox-dev-password MYSQL_ROOT_PASSWORD=rustbox-root-password # NFS variant. NFS_SERVER is required by compose-mysql-nfs-opensearch.yml. NFS_SERVER=10.0.0.10 NFS_EXPORT=/exports/rustbox # Optional Compose project name. The compose files also declare `name: rustbox`. # A shell-exported COMPOSE_PROJECT_NAME overrides the top-level `name:` field. # Recommended launch commands therefore use `docker compose -p rustbox ...`. COMPOSE_PROJECT_NAME=rustbox # development = cookies work over plain HTTP; production = Secure cookies, requires HTTPS ENVIRONMENT=development # Administrator-only diagnostics endpoint (requires corresponding TOML section). # DIAGNOSTICS_ENDPOINT__ENABLED=true # DIAGNOSTICS_ENDPOINT__AUTH=token # DIAGNOSTICS_ENDPOINT__TOKEN=replace-with-at-least-24-random-characters # Alternative Basic Auth: # DIAGNOSTICS_ENDPOINT__AUTH=basic # DIAGNOSTICS_ENDPOINT__BASIC_USERNAME=rustbox-monitor # DIAGNOSTICS_ENDPOINT__BASIC_PASSWORD=replace-with-a-long-random-password