rustfs added

This commit is contained in:
2025-10-31 08:19:57 +01:00
parent 94bc5e1b0f
commit 47e28480e7
3 changed files with 32 additions and 0 deletions

2
.gitignore vendored
View File

@@ -1,2 +1,4 @@
.local
volume/
.env.app

15
rustfs/.env.app.dist Normal file
View File

@@ -0,0 +1,15 @@
####################################################################################################################
### env from: https://github.com/rustfs/rustfs/blob/1.0.0-alpha.65/docs/examples/docker/docker-comprehensive.yml ###
####################################################################################################################
RUSTFS_ACCESS_KEY="devops"
RUSTFS_SECRET_KEY="CHANGE_ME"
RUSTFS_CONSOLE_ENABLE=true
RUSTFS_SERVER_DOMAINS="rustfs.example.org" # this exanbles vHost Support
RUSTFS_ADDRESS="0.0.0.0:9000"
RUSTFS_CONSOLE_ADDRESS="0.0.0.0:9001"
RUSTFS_EXTERNAL_ADDRESS=":9000"
RUSTFS_CORS_ALLOWED_ORIGINS="https://rustfs.example.org"
RUSTFS_CONSOLE_CORS_ALLOWED_ORIGINS="https://console.rustfs.example.org"

15
rustfs/compose.yaml Normal file
View File

@@ -0,0 +1,15 @@
services:
rustfs:
# https://hub.docker.com/r/rustfs/rustfs
image: rustfs/rustfs:1.0.0-alpha.65
hostname: unraid
container_name: rustfs
env_file: .env.app
ports:
- '9000:9000' # s3 api
- '9001:9001' # management ocnsole
volumes:
- /mnt/cache/rustfs:/data
tmpfs:
- /logs:size=1G
restart: unless-stopped