Files
sorsfonalak/docker-compose.override.yml
T

54 lines
1.4 KiB
YAML
Raw Permalink Normal View History

# 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
#
# 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).
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
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
worker:
environment:
SMTP_URL: smtp://mailpit:1025
depends_on:
mailpit:
condition: service_healthy
volumes:
rustfs: