DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

277404e994ce4b2a464d5b31238daae5e3e63491 — Jonni Liljamo a month ago 979f6c8
feat(systems/hosts/oci): auto-update and remove registry ui port
2 files changed, 6 insertions(+), 3 deletions(-)

M systems/hosts/oci/default.nix
M systems/hosts/oci/websites.nix
M systems/hosts/oci/default.nix => systems/hosts/oci/default.nix +0 -3
@@ 26,9 26,6 @@ in {
    extraOptions = [
      "--network=host"
    ];
    ports = [
      "${toString registryUIPort}:80"
    ];
    environment = {
      REGISTRY_URL = "http://10.1.2.9:5000";
      SINGLE_REGISTRY = "true";

M systems/hosts/oci/websites.nix => systems/hosts/oci/websites.nix +6 -0
@@ 16,6 16,9 @@ in {
    ports = [
      "${toString comPort}:80"
    ];
    labels = {
      "io.containers.autoupdate" = "registry";
    };
  };

  virtualisation.oci-containers.containers."liljamo-dev-zola" = {


@@ 27,5 30,8 @@ in {
    ports = [
      "${toString devPort}:80"
    ];
    labels = {
      "io.containers.autoupdate" = "registry";
    };
  };
}