generated from erangel1/generic-template
repo migration
This commit is contained in:
30
docker-compose.yaml
Normal file
30
docker-compose.yaml
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
services:
|
||||||
|
rustfs:
|
||||||
|
image: rustfs/rustfs:latest
|
||||||
|
container_name: rustfs
|
||||||
|
restart: unless-stopped
|
||||||
|
user: 1000:1000
|
||||||
|
#ports:
|
||||||
|
# - "9000:9000" #this one is for the API
|
||||||
|
# - "9001:9001" #this one is for the console
|
||||||
|
networks:
|
||||||
|
- homelab
|
||||||
|
volumes:
|
||||||
|
- /mnt/rustfs/data:/data:rw
|
||||||
|
|
||||||
|
environment:
|
||||||
|
RUSTFS_ACCESS_KEY: rustadm
|
||||||
|
RUSTFS_SECRET_KEY: QuietProfe55ion@!
|
||||||
|
RUSTFS_CONSOLE_ENABLE: "true"
|
||||||
|
RUSTFS_SERVER_DOMAINS: asgardlabs.net
|
||||||
|
|
||||||
|
command: >
|
||||||
|
--address :9000
|
||||||
|
--console-enable
|
||||||
|
--server-domains asgardlabs.net
|
||||||
|
--access-key rustadm
|
||||||
|
--secret-key QuietProfe55ion@!
|
||||||
|
/data
|
||||||
|
networks:
|
||||||
|
homelab:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user