v0.2.0_docker
RustBox CI / rustbox (push) Canceled after 0s

This commit is contained in:
Mateusz Gruszczyński committed 2026-10-31 15:33:58 +01:00
1 parent 6888cb7950
commit 9ba6571fa6
5 files changed
+190 -16

No files matched your search

+11 -3
View File
@@ -1,3 +1,5 @@
name: rustbox
services:
mysql:
image: mysql:8.4
@@ -39,13 +41,19 @@ services:
opensearch:
condition: service_healthy
ports:
- "3001:3001"
- "${PORT:-3001}:${PORT:-3001}"
environment:
RUSTBOX_CONFIG: /etc/rustbox/rustbox.toml
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:-info}
DATABASE_URL: mysql://rustbox:${MYSQL_PASSWORD:-rustbox-dev-password}@mysql:3306/rustbox
SESSION_ENCRYPTION_KEY: ${SESSION_ENCRYPTION_KEY:-MDEyMzQ1Njc4OWFiY2RlZjAxMjM0NTY3ODlhYmNkZWY=}
IMAP_HOST: ${IMAP_HOST:-mail.example.com}
SMTP_HOST: ${SMTP_HOST:-mail.example.com}
volumes:
- ./configs/mysql-nfs-opensearch.toml:/etc/rustbox/rustbox.toml:ro
- rustbox-nfs:/mnt/rustbox-shared