helm/reference/shaarli-docker.nix
2021-01-09 20:04:32 +10:00

10 lines
230 B
Nix

{ pkg, config, lib, ... }:
{
docker-containers."shaarli" = {
image = "shaarli/shaarli";
volumes = [ "shaarli:/var/lib/shaarli/data/" ];
ports = [ "1233:80" ];
};
networking.firewall.allowedTCPPorts = [ 1233 ];
}