2026-10-26 05:59:55 +01:00
|
|
|
# Optional S3-compatible object store. Start the core Compose first so the
|
|
|
|
|
# shared heimdall-net exists, then configure storage in Central to use rustfs.
|
|
|
|
|
services:
|
|
|
|
|
rustfs:
|
|
|
|
|
image: rustfs/rustfs:latest
|
2026-10-28 06:38:24 +01:00
|
|
|
pull_policy: always
|
2026-10-26 05:59:55 +01:00
|
|
|
restart: unless-stopped
|
|
|
|
|
ports:
|
|
|
|
|
- "${RUSTFS_API_PORT:-9000}:9000"
|
|
|
|
|
- "${RUSTFS_CONSOLE_PORT:-9001}:9001"
|
|
|
|
|
environment:
|
|
|
|
|
RUSTFS_VOLUMES: /data
|
|
|
|
|
RUSTFS_ADDRESS: 0.0.0.0:9000
|
|
|
|
|
RUSTFS_CONSOLE_ADDRESS: 0.0.0.0:9001
|
|
|
|
|
RUSTFS_CONSOLE_ENABLE: "true"
|
|
|
|
|
RUSTFS_ACCESS_KEY_FILE: /run/secrets/rustfs_access_key
|
|
|
|
|
RUSTFS_SECRET_KEY_FILE: /run/secrets/rustfs_secret_key
|
|
|
|
|
secrets:
|
|
|
|
|
- rustfs_access_key
|
|
|
|
|
- rustfs_secret_key
|
|
|
|
|
volumes:
|
|
|
|
|
- rustfs_data:/data
|
|
|
|
|
networks:
|
|
|
|
|
heimdall-net:
|
|
|
|
|
aliases:
|
|
|
|
|
- rustfs
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
rustfs_data:
|
|
|
|
|
|
|
|
|
|
secrets:
|
|
|
|
|
rustfs_access_key:
|
2026-11-10 15:29:05 +01:00
|
|
|
file: ./optional/secrets/rustfs_access_key
|
2026-10-26 05:59:55 +01:00
|
|
|
rustfs_secret_key:
|
2026-11-10 15:29:05 +01:00
|
|
|
file: ./optional/secrets/rustfs_secret_key
|
2026-10-26 05:59:55 +01:00
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
heimdall-net:
|
|
|
|
|
name: heimdall-net
|
|
|
|
|
external: true
|