update(garage): deplyment on baldur and heimdall
This commit is contained in:
parent
00d3d2d3f8
commit
44d237f20a
2 changed files with 7 additions and 6 deletions
|
|
@ -47,6 +47,7 @@
|
||||||
time.timeZone = "Europe/Rome";
|
time.timeZone = "Europe/Rome";
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
garage.settings.data_dir = "/mnt/raid/garage/";
|
||||||
fail2ban = {
|
fail2ban = {
|
||||||
enable = true;
|
enable = true;
|
||||||
bantime-increment.enable = true;
|
bantime-increment.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, lib, config, ... }: {
|
{ pkgs, config, ... }: {
|
||||||
users.groups.garage = { };
|
users.groups.garage = { };
|
||||||
users.users.garage = { isSystemUser = true; group = "garage"; };
|
users.users.garage = { isSystemUser = true; group = "garage"; };
|
||||||
age.secrets.garage_rpc_secret = {
|
age.secrets.garage_rpc_secret = {
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
owner = "garage";
|
owner = "garage";
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.interfaces."tailscale0".allowedTCPPorts = [
|
||||||
3900
|
3900
|
||||||
3901
|
3901
|
||||||
];
|
];
|
||||||
|
|
@ -35,10 +35,10 @@
|
||||||
root_domain = ".s3.bertof.net";
|
root_domain = ".s3.bertof.net";
|
||||||
};
|
};
|
||||||
|
|
||||||
s3_web = {
|
# s3_web = {
|
||||||
bind_addr = "0.0.0.0:3902";
|
# bind_addr = "0.0.0.0:3902";
|
||||||
root_domain = ".web.bertof.net";
|
# root_domain = ".web.bertof.net";
|
||||||
};
|
# };
|
||||||
|
|
||||||
# k2v_api = {
|
# k2v_api = {
|
||||||
# api_bind_addr = "[::]:3904";
|
# api_bind_addr = "[::]:3904";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue