diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2022-06-24 21:34:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 21:34:05 -0500 |
commit | 9d6c025ad99c45cffc294c7ba241ad7ad266dafd (patch) | |
tree | 7c172ca8102aea510791d22ff985530883950845 /nixos/tests | |
parent | 4a0b12e1d88b21e588e4b78fbca1e81a29b61493 (diff) | |
parent | c3c876462b1884d77e7b3d41740b07977a27c1e6 (diff) |
Merge pull request #176079 from aaronjheng/traefik
traefik: 2.6.3 -> 2.7.1
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/traefik.nix | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/nixos/tests/traefik.nix b/nixos/tests/traefik.nix index 1d6c0a479ef62..989ec390c0603 100644 --- a/nixos/tests/traefik.nix +++ b/nixos/tests/traefik.nix @@ -11,14 +11,20 @@ import ./make-test-python.nix ({ pkgs, ... }: { environment.systemPackages = [ pkgs.curl ]; }; traefik = { config, pkgs, ... }: { - virtualisation.oci-containers.containers.nginx = { - extraOptions = [ - "-l" "traefik.enable=true" - "-l" "traefik.http.routers.nginx.entrypoints=web" - "-l" "traefik.http.routers.nginx.rule=Host(`nginx.traefik.test`)" - ]; - image = "nginx-container"; - imageFile = pkgs.dockerTools.examples.nginx; + virtualisation.oci-containers = { + backend = "docker"; + containers.nginx = { + extraOptions = [ + "-l" + "traefik.enable=true" + "-l" + "traefik.http.routers.nginx.entrypoints=web" + "-l" + "traefik.http.routers.nginx.rule=Host(`nginx.traefik.test`)" + ]; + image = "nginx-container"; + imageFile = pkgs.dockerTools.examples.nginx; + }; }; networking.firewall.allowedTCPPorts = [ 80 ]; |