helm/reference/shaarli-docker.nix

10 lines
230 B
Nix
Raw Normal View History

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