mirror of
https://github.com/acepanel/templates.git
synced 2026-02-04 03:40:33 +08:00
25 lines
612 B
YAML
25 lines
612 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
|