Files
Heimdall/docker/docker-compose.rustfs.yml
T

40 lines
1.0 KiB
YAML
Raw Normal View History

# 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
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:
file: ./optional/secrets/rustfs_access_key
rustfs_secret_key:
file: ./optional/secrets/rustfs_secret_key
networks:
heimdall-net:
name: heimdall-net
external: true