add garage server (not functional)
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services.garage = {
|
||||
enable = false;
|
||||
package = pkgs.garage;
|
||||
environmentFile = "/home/user/garage_secrets";
|
||||
settings = {
|
||||
db_engine = "sqlite";
|
||||
|
||||
rpc_bind_addr = "0.0.0.0:3901";
|
||||
# rpc_public_addr = "garage.example.com:3901";
|
||||
|
||||
replication_factor = 1;
|
||||
|
||||
s3_api = {
|
||||
s3_region = "garage";
|
||||
api_bind_addr = "0.0.0.0:3900";
|
||||
};
|
||||
|
||||
# s3_web = {
|
||||
# bind_addr = "0.0.0.0:3902";
|
||||
# };
|
||||
|
||||
admin = {
|
||||
api_bind_addr = "0.0.0.0:3903";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user