fix
This commit is contained in:
@@ -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 = [{
|
||||||
|
|||||||
Reference in New Issue
Block a user