Garage Storage
Single Node Garage Setup Download Dowload the latest Garage release. Copy the binary to /usr/local/bin/ Configuration Create config file cat > garage.toml <<EOF metadata_dir = "/websites/example.in/meta" data_dir = "/websites/example.in/data" db_engine = "sled" block_size = 1048576 replication_factor = 1 # RPC Configuration # Use localhost for local access. In multinode setup, this is used to communicate with other nodes. Interface and public IP could be different, setup IP accordingly. rpc_bind_addr = "127.0.0.1:3901" rpc_public_addr = "127.0.0.1:3901" rpc_secret = "$(openssl rand -hex 32)" [s3_api] s3_region = "in" api_bind_addr = "[::]:3900" root_domain = ".s3.example.in" [s3_web] bind_addr = "[::]:3902" root_domain = ".web.example.in" index = "index.html" [admin] api_bind_addr = "[::]:3903" admin_token = "$(openssl rand -base64 32)" metrics_token = "$(openssl rand -base64 32)" EOF systemd service NOTE: System user and group is garage. ...