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:
postgres:
image: postgres:17-bookworm
@@ -63,15 +65,21 @@ 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: postgres://rustbox:${POSTGRES_PASSWORD:-rustbox-dev-password}@postgres:5432/rustbox
SESSION_ENCRYPTION_KEY: ${SESSION_ENCRYPTION_KEY:-MDEyMzQ1Njc4OWFiY2RlZjAxMjM0NTY3ODlhYmNkZWY=}
AWS_ACCESS_KEY_ID: ${S3_ACCESS_KEY:-rustbox}
AWS_SECRET_ACCESS_KEY: ${S3_SECRET_KEY:-rustbox-s3-dev-password}
IMAP_HOST: ${IMAP_HOST:-mail.example.com}
SMTP_HOST: ${SMTP_HOST:-mail.example.com}
volumes:
- ./configs/postgres-s3-opensearch.toml:/etc/rustbox/rustbox.toml:ro
restart: unless-stopped