mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
openspeedtest: Remove firewall bypass
This commit is contained in:
parent
0cc7c80407
commit
d4f66865eb
1 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ in
|
||||||
};
|
};
|
||||||
port = lib.mkOption {
|
port = lib.mkOption {
|
||||||
type = lib.types.port;
|
type = lib.types.port;
|
||||||
default = 3001;
|
default = 4479;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -23,7 +23,7 @@ in
|
||||||
|
|
||||||
virtualisation.oci-containers.containers.openspeedtest = {
|
virtualisation.oci-containers.containers.openspeedtest = {
|
||||||
image = "openspeedtest/latest";
|
image = "openspeedtest/latest";
|
||||||
ports = [ "${builtins.toString cfg.port}:3000" ];
|
ports = [ "127.0.0.1:${builtins.toString cfg.port}:3000" ];
|
||||||
pull = "newer";
|
pull = "newer";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue