mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-15 00:17:12 +08:00
36 lines
716 B
YAML
36 lines
716 B
YAML
|
|
|
||
|
|
services:
|
||
|
|
rustfs:
|
||
|
|
image: rustfs/rustfs:1.0.0-alpha.70
|
||
|
|
container_name: ${CONTAINER_NAME}
|
||
|
|
ports:
|
||
|
|
- "${PANEL_APP_PORT_HTTP}:9000" # S3 API port
|
||
|
|
environment:
|
||
|
|
- RUSTFS_CONSOLE_ENABLE=true
|
||
|
|
- RUSTFS_LOG_LEVEL=info
|
||
|
|
volumes:
|
||
|
|
- ./data:/data
|
||
|
|
- ./logs:/logs
|
||
|
|
networks:
|
||
|
|
- 1panel-network
|
||
|
|
restart: always
|
||
|
|
healthcheck:
|
||
|
|
test:
|
||
|
|
[
|
||
|
|
"CMD",
|
||
|
|
"wget",
|
||
|
|
"--no-verbose",
|
||
|
|
"--tries=1",
|
||
|
|
"--spider",
|
||
|
|
"http://localhost:9000/health",
|
||
|
|
]
|
||
|
|
interval: 30s
|
||
|
|
timeout: 10s
|
||
|
|
retries: 3
|
||
|
|
start_period: 40s
|
||
|
|
labels:
|
||
|
|
createdBy: "Apps"
|
||
|
|
networks:
|
||
|
|
1panel-network:
|
||
|
|
external: true
|