mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-03-13 16:03:25 +00:00
~
This commit is contained in:
parent
72616a26ff
commit
15ba5fb4e8
1 changed files with 2 additions and 2 deletions
|
@ -37,12 +37,12 @@ in with lib; {
|
|||
};
|
||||
|
||||
networking.firewall = mkIf cfg.openFirewall {
|
||||
allowedTCPPorts = [ builtins.toString cfg.listenPort ];
|
||||
allowedTCPPorts = [ cfg.listenPort ];
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers.homepage = {
|
||||
ports = [ (builtins.toString cfg.listenPort + ":3000/tcp") ];
|
||||
volumes = mkIf cfg.imagesDir [ (builtins.toString cfg.imagesDir + ":/app/public/images:rw") ];
|
||||
volumes = mkIf (cfg.imagesDir != null) [ (builtins.toString cfg.imagesDir + ":/app/public/images:rw") ];
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue