Files
RustBox/docker/.env.example
T
Mateusz Gruszczyński 9ba6571fa6
RustBox CI / rustbox (push) Canceled after 0s
v0.2.0_docker
2026-10-31 15:33:58 +01:00

43 lines
1.2 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
# 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