19 lines
449 B
YAML
19 lines
449 B
YAML
services:
|
|
rustbox:
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/Dockerfile
|
|
ports:
|
|
- "3001:3001"
|
|
environment:
|
|
RUSTBOX_CONFIG: /etc/rustbox/rustbox.toml
|
|
IMAP_HOST: ${IMAP_HOST:-mail.example.com}
|
|
SMTP_HOST: ${SMTP_HOST:-mail.example.com}
|
|
volumes:
|
|
- ./configs/single-sqlite.toml:/etc/rustbox/rustbox.toml:ro
|
|
- rustbox-data:/var/lib/rustbox
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
rustbox-data:
|