summary refs log tree commit diff
path: root/nixos/tests/traefik.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-06-05 00:03:13 +0000
committerGitHub <noreply@github.com>2023-06-05 00:03:13 +0000
commitb2f58f98dd670248e0facbabd26d9719fe1badab (patch)
tree610c762a1a8080327fa7e59bd90cbd2378829593 /nixos/tests/traefik.nix
parent36689480f32ff890eb578e8b7be3b7a6ea7f799a (diff)
parent4a640f8bb68caa0c33eb671c16ed189573c717a3 (diff)
downloadnixpkgs-b2f58f98dd670248e0facbabd26d9719fe1badab.tar
nixpkgs-b2f58f98dd670248e0facbabd26d9719fe1badab.tar.gz
nixpkgs-b2f58f98dd670248e0facbabd26d9719fe1badab.tar.bz2
nixpkgs-b2f58f98dd670248e0facbabd26d9719fe1badab.tar.lz
nixpkgs-b2f58f98dd670248e0facbabd26d9719fe1badab.tar.xz
nixpkgs-b2f58f98dd670248e0facbabd26d9719fe1badab.tar.zst
nixpkgs-b2f58f98dd670248e0facbabd26d9719fe1badab.zip
Merge staging-next into staging
Diffstat (limited to 'nixos/tests/traefik.nix')
-rw-r--r--nixos/tests/traefik.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/tests/traefik.nix b/nixos/tests/traefik.nix
index 989ec390c06..ce808e6ec95 100644
--- a/nixos/tests/traefik.nix
+++ b/nixos/tests/traefik.nix
@@ -52,10 +52,13 @@ import ./make-test-python.nix ({ pkgs, ... }: {
             sendAnonymousUsage = false;
           };
 
-          entryPoints.web.address = ":80";
+          entryPoints.web.address = ":\${HTTP_PORT}";
 
           providers.docker.exposedByDefault = false;
         };
+        environmentFiles = [(pkgs.writeText "traefik.env" ''
+          HTTP_PORT=80
+        '')];
       };
 
       systemd.services.simplehttp = {