This commit is contained in:
soraefir
2026-05-09 10:24:13 +02:00
parent b2f6d8cc9e
commit f02adc6d93

View File

@@ -5,15 +5,11 @@ serverCfg = config.syscfg.server;
image = pkgs.dockerTools.streamLayeredImage { image = pkgs.dockerTools.streamLayeredImage {
name = "traefik"; name = "traefik";
tag = pkgs.traefik.version; tag = pkgs.traefik.version;
contents = [ pkgs.traefik ]; contents = with pkgs;[ traefik cacert tzdata ];
config = { config = {
Cmd = [ "traefik" ]; Entrypoint = [ "${pkgs.traefik}/bin/traefik" ];
WorkingDir = "/"; WorkingDir = "/";
}; };
extraCommands = ''
touch acme.json
chmod 600 acme.json
'';
}; };
in { in {
paths = [{ paths = [{