Merge pull request #113886 from davidak/traefik-oci-containers
traefik: update test to use virtualisation.oci-containers
This commit is contained in:
commit
21ca496b1d
@ -11,8 +11,8 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
|||||||
environment.systemPackages = [ pkgs.curl ];
|
environment.systemPackages = [ pkgs.curl ];
|
||||||
};
|
};
|
||||||
traefik = { config, pkgs, ... }: {
|
traefik = { config, pkgs, ... }: {
|
||||||
docker-containers.nginx = {
|
virtualisation.oci-containers.containers.nginx = {
|
||||||
extraDockerOptions = [
|
extraOptions = [
|
||||||
"-l" "traefik.enable=true"
|
"-l" "traefik.enable=true"
|
||||||
"-l" "traefik.http.routers.nginx.entrypoints=web"
|
"-l" "traefik.http.routers.nginx.entrypoints=web"
|
||||||
"-l" "traefik.http.routers.nginx.rule=Host(`nginx.traefik.test`)"
|
"-l" "traefik.http.routers.nginx.rule=Host(`nginx.traefik.test`)"
|
||||||
|
Loading…
Reference in New Issue
Block a user