This commit is contained in:
soraefir
2026-05-09 10:45:16 +02:00
parent 9f5f8751e5
commit cd5deea849
3 changed files with 26 additions and 9 deletions

View File

@@ -1,8 +1,7 @@
{ config, containerCfg, pkgs, lib, builder, name,... }:
let
version = "3";
serverCfg = config.syscfg.server;
image = pkgs.dockerTools.streamLayeredImage {
serverCfg = config.syscfg.server;
image = pkgs.dockerTools.streamLayeredImage {
name = "traefik";
tag = pkgs.traefik.version;
contents = with pkgs;[ traefik cacert tzdata ];
@@ -20,9 +19,8 @@ in {
containers = {
server = builder.mkContainer {
subdomain = containerCfg.subdomain;
image = "ghcr.io/traefik/traefik:${version}";
imageStream = image;
subdomain = containerCfg.subdomain;
ip = containerCfg.ip;
port = 8080;
secret = name;