mirror of
https://github.com/tiennm99/coolify.git
synced 2026-05-03 14:21:11 +00:00
Add RustFS one-click service template
Add RustFS service definition with Docker Compose configuration and SVG logo for Coolify's service marketplace. Includes S3-compatible object storage setup with health checks and configurable environment variables. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128">
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="rustGrad" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||||
|
<stop offset="0%" style="stop-color:#E67E22"/>
|
||||||
|
<stop offset="100%" style="stop-color:#D35400"/>
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
<rect x="8" y="24" width="112" height="80" rx="8" fill="url(#rustGrad)"/>
|
||||||
|
<rect x="20" y="38" width="88" height="12" rx="3" fill="#FFF" opacity="0.9"/>
|
||||||
|
<rect x="20" y="58" width="88" height="12" rx="3" fill="#FFF" opacity="0.7"/>
|
||||||
|
<rect x="20" y="78" width="88" height="12" rx="3" fill="#FFF" opacity="0.5"/>
|
||||||
|
<circle cx="28" cy="44" r="3" fill="#27AE60"/>
|
||||||
|
<circle cx="28" cy="64" r="3" fill="#27AE60"/>
|
||||||
|
<circle cx="28" cy="84" r="3" fill="#27AE60"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 753 B |
@@ -0,0 +1,35 @@
|
|||||||
|
# ignore: true
|
||||||
|
# documentation: https://docs.rustfs.com/installation/docker/
|
||||||
|
# slogan: RustFS is a high-performance distributed storage system built with Rust, compatible with Amazon S3 APIs.
|
||||||
|
# category: storage
|
||||||
|
# tags: object, storage, server, s3, api, rust
|
||||||
|
# logo: svgs/rustfs.svg
|
||||||
|
|
||||||
|
services:
|
||||||
|
rustfs:
|
||||||
|
image: rustfs/rustfs:latest
|
||||||
|
command: /data
|
||||||
|
environment:
|
||||||
|
- RUSTFS_SERVER_URL=$RUSTFS_SERVER_URL
|
||||||
|
- RUSTFS_BROWSER_REDIRECT_URL=$RUSTFS_BROWSER_REDIRECT_URL
|
||||||
|
- RUSTFS_ADDRESS=${RUSTFS_ADDRESS:-0.0.0.0:9000}
|
||||||
|
- RUSTFS_CONSOLE_ADDRESS=${RUSTFS_CONSOLE_ADDRESS:-0.0.0.0:9001}
|
||||||
|
- RUSTFS_CORS_ALLOWED_ORIGINS=${RUSTFS_CORS_ALLOWED_ORIGINS:-*}
|
||||||
|
- RUSTFS_CONSOLE_CORS_ALLOWED_ORIGINS=${RUSTFS_CONSOLE_CORS_ALLOWED_ORIGINS:-*}
|
||||||
|
- RUSTFS_ACCESS_KEY=$SERVICE_USER_RUSTFS
|
||||||
|
- RUSTFS_SECRET_KEY=$SERVICE_PASSWORD_RUSTFS
|
||||||
|
- RUSTFS_CONSOLE_ENABLE=${RUSTFS_CONSOLE_ENABLE:-true}
|
||||||
|
- RUSTFS_SERVER_DOMAINS=${RUSTFS_SERVER_DOMAINS}
|
||||||
|
- RUSTFS_EXTERNAL_ADDRESS=${RUSTFS_EXTERNAL_ADDRESS}
|
||||||
|
volumes:
|
||||||
|
- rustfs-data:/data
|
||||||
|
healthcheck:
|
||||||
|
test:
|
||||||
|
[
|
||||||
|
"CMD",
|
||||||
|
"sh", "-c",
|
||||||
|
"curl -f http://127.0.0.1:9000/health && curl -f http://127.0.0.1:9001/rustfs/console/health"
|
||||||
|
]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 20s
|
||||||
|
retries: 10
|
||||||
Reference in New Issue
Block a user