fix
This commit is contained in:
@@ -5,15 +5,11 @@ serverCfg = config.syscfg.server;
|
||||
image = pkgs.dockerTools.streamLayeredImage {
|
||||
name = "traefik";
|
||||
tag = pkgs.traefik.version;
|
||||
contents = [ pkgs.traefik ];
|
||||
contents = with pkgs;[ traefik cacert tzdata ];
|
||||
config = {
|
||||
Cmd = [ "traefik" ];
|
||||
Entrypoint = [ "${pkgs.traefik}/bin/traefik" ];
|
||||
WorkingDir = "/";
|
||||
};
|
||||
extraCommands = ''
|
||||
touch acme.json
|
||||
chmod 600 acme.json
|
||||
'';
|
||||
};
|
||||
in {
|
||||
paths = [{
|
||||
|
||||
Reference in New Issue
Block a user