2026-11-15 11:49:29 +00:00
|
|
|
# Development only: loaded automatically by `docker compose up`, left out in
|
|
|
|
|
# production (`docker compose -f docker-compose.yml ...`).
|
|
|
|
|
#
|
|
|
|
|
# Mailpit catches every e-mail the worker sends; nothing leaves the machine.
|
|
|
|
|
# Web UI: http://<server>:8025
|
2026-11-22 16:08:35 +00:00
|
|
|
#
|
|
|
|
|
# RustFS stands in for DigitalOcean Spaces (S3-compatible object storage of the
|
|
|
|
|
# famous people's photos). Console: http://localhost:9001 (rustfs-dev / rustfs-dev-secret).
|
2026-11-15 11:49:29 +00:00
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
mailpit:
|
|
|
|
|
image: axllent/mailpit:v1.33.1
|
|
|
|
|
environment:
|
|
|
|
|
MP_MAX_MESSAGES: 1000
|
|
|
|
|
MP_SMTP_AUTH_ACCEPT_ANY: 1
|
|
|
|
|
MP_SMTP_AUTH_ALLOW_INSECURE: 1
|
|
|
|
|
ports:
|
|
|
|
|
- "8025:8025"
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
2026-11-22 16:08:35 +00:00
|
|
|
rustfs:
|
|
|
|
|
image: rustfs/rustfs:1.0.4
|
|
|
|
|
environment:
|
|
|
|
|
RUSTFS_ACCESS_KEY: rustfs-dev
|
|
|
|
|
RUSTFS_SECRET_KEY: rustfs-dev-secret
|
|
|
|
|
RUSTFS_CONSOLE_ENABLE: "true"
|
|
|
|
|
volumes:
|
|
|
|
|
- rustfs:/data
|
|
|
|
|
ports:
|
|
|
|
|
- "127.0.0.1:9000:9000"
|
|
|
|
|
- "127.0.0.1:9001:9001"
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
|
|
backend:
|
|
|
|
|
environment:
|
|
|
|
|
S3_ENDPOINT: http://rustfs:9000
|
|
|
|
|
S3_BUCKET: sorsfonalak-dev
|
|
|
|
|
S3_ACCESS_KEY_ID: rustfs-dev
|
|
|
|
|
S3_SECRET_ACCESS_KEY: rustfs-dev-secret
|
|
|
|
|
S3_CREATE_BUCKET: "true"
|
|
|
|
|
depends_on:
|
|
|
|
|
rustfs:
|
|
|
|
|
condition: service_started
|
|
|
|
|
|
2026-11-15 11:49:29 +00:00
|
|
|
worker:
|
|
|
|
|
environment:
|
|
|
|
|
SMTP_URL: smtp://mailpit:1025
|
|
|
|
|
depends_on:
|
|
|
|
|
mailpit:
|
|
|
|
|
condition: service_healthy
|
2026-11-22 16:08:35 +00:00
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
rustfs:
|