rustfs added
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,4 @@
|
||||
.local
|
||||
volume/
|
||||
|
||||
.env.app
|
||||
|
||||
15
rustfs/.env.app.dist
Normal file
15
rustfs/.env.app.dist
Normal 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
15
rustfs/compose.yaml
Normal 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
|
||||
Reference in New Issue
Block a user