Files
RustBox/docker/.env.example
T
Mateusz Gruszczyński 2c98b8f925
RustBox CI / rustbox (push) Canceled after 0s
v0.2.3
2026-10-31 19:40:19 +01:00

55 lines
1.7 KiB
Bash

# 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=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