update attic port
This commit is contained in:
parent
f8d835fddc
commit
11bc022d97
1 changed files with 6 additions and 3 deletions
|
|
@ -3,6 +3,9 @@
|
|||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
atticPort = 7080;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
myModules.enableAttic = lib.mkOption {
|
||||
|
|
@ -18,7 +21,7 @@
|
|||
enable = true;
|
||||
environmentFile = "/persist/attic.env";
|
||||
settings = {
|
||||
listen = "[::]:7080";
|
||||
listen = "[::]:${toString atticPort}";
|
||||
compression = {
|
||||
type = "zstd";
|
||||
level = 9;
|
||||
|
|
@ -31,14 +34,14 @@
|
|||
# };
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ 5000 ];
|
||||
networking.firewall.allowedTCPPorts = [ atticPort ];
|
||||
services.cloudflared.tunnels = {
|
||||
"fa301a21-b259-4149-b3d0-b1438c7c81f8" = {
|
||||
default = "http_status:404";
|
||||
credentialsFile = "/home/osbm/.cloudflared/fa301a21-b259-4149-b3d0-b1438c7c81f8.json";
|
||||
ingress = {
|
||||
"cache.osbm.dev" = {
|
||||
service = "http://localhost:5000";
|
||||
service = "http://localhost:${toString atticPort}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue