This commit is contained in:
m3tam3re
2024-10-17 18:57:52 +02:00
parent 6c720bdac6
commit c6d1b9a2ad
11 changed files with 76 additions and 29 deletions

View File

@ -2,7 +2,7 @@
virtualisation.oci-containers.containers."echo-http-service" = {
image = "hashicorp/http-echo";
extraOptions = ["-text='Hello, World!'" "--network=web"];
ports = ["5678:5678"];
ports = ["5679:5678"];
};
system.activationScripts.createPodmanNetworkWeb = lib.mkAfter ''
if ! /run/current-system/sw/bin/podman network exists web; then