make garage and rclone better

This commit is contained in:
cy 2025-03-14 02:09:30 -04:00
parent 16788bc7b2
commit 9c72baf1c0
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
3 changed files with 22 additions and 12 deletions

View file

@ -10,15 +10,13 @@
api_bind_addr = "[::]:3900";
root_domain = "s3.cy7.sh";
};
s3_web = {
bind_addr = "[::]:3902";
root_domain = ".web.s3.cy7.sh";
index = "index.html";
};
admin.api_bind_addr = "[::]:3903";
rpc_bind_addr = "[::]:3901";
replication_factor = 1;
db_engine = "lmdb";
disable_scrub = true;
block_size = "10M";
compression_level = 3;
};
environmentFile = config.sops.secrets."garage/env".path;
};
@ -31,10 +29,6 @@
reverse_proxy localhost:3900
'';
};
"*.web.s3.cy7.sh".extraConfig = ''
import common
reverse_proxy localhost:3902
'';
"admin.s3.cy7.sh".extraConfig = ''
import common
reverse_proxy localhost:3903