Files
RustBox/docker/compose-single-sqlite.yml
T
Mateusz Gruszczyński dacdf9c27d
RustBox CI / rustbox (push) Canceled after 0s
v0.2.8
2026-11-01 20:40:40 +01:00

28 lines
757 B
YAML

name: rustbox
services:
rustbox:
build:
context: ..
dockerfile: docker/Dockerfile
ports:
- "${PORT:-3001}:${PORT:-3001}"
environment:
RUSTBOX_CONFIG: /etc/rustbox/rustbox.toml
ENVIRONMENT: ${ENVIRONMENT:-development}
HOST: ${HOST:-0.0.0.0}
PORT: ${PORT:-3001}
IMAP_HOST: ${IMAP_HOST:-mail.example.com}
IMAP_PORT: ${IMAP_PORT:-993}
SMTP_HOST: ${SMTP_HOST:-mail.example.com}
SMTP_PORT: ${SMTP_PORT:-587}
TLS_ENABLED: ${TLS_ENABLED:-true}
RUST_LOG: ${RUST_LOG:-warn,rustbox=info,tower_http=info}
volumes:
- ./configs/single-sqlite.toml:/etc/rustbox/rustbox.toml:ro
- rustbox-data:/var/lib/rustbox
restart: unless-stopped
volumes:
rustbox-data: