2
0
mirror of https://github.com/acepanel/templates.git synced 2026-02-04 06:17:13 +08:00
Files
templates/rustfs/docker-compose.yml
2026-01-23 18:22:20 +08:00

25 lines
610 B
YAML

services:
rustfs:
image: rustfs/rustfs:latest
ports:
- ${RUSTFS_PORT_API}:9000
- ${RUSTFS_PORT_HTTP}:9001
restart: unless-stopped
environment:
RUSTFS_ACCESS_KEY: ${RUSTFS_ACCESS_KEY}
RUSTFS_SECRET_KEY: ${RUSTFS_SECRET_KEY}
RUSTFS_CONSOLE_ENABLE: ${RUSTFS_CONSOLE_ENABLE}
volumes:
- ./data:/data
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:9001 || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
networks:
- acepanel-network
networks:
acepanel-network:
external: true