Skip to content

Commit

Permalink
cover boolean systemd value via label
Browse files Browse the repository at this point in the history
  • Loading branch information
aksiksi committed Nov 15, 2023
1 parent 4f8dcf3 commit 3205404
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions testdata/TestDocker_RemoveVolumes_out.nix
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@
serviceConfig = {
Restart = "none";
};
unitConfig = {
AllowIsolate = true;
};
partOf = [ "docker-compose-myproject-root.target" ];
};

Expand Down
3 changes: 3 additions & 0 deletions testdata/TestDocker_SystemdMount_out.nix
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@
serviceConfig = {
Restart = "none";
};
unitConfig = {
AllowIsolate = true;
};
partOf = [ "docker-compose-myproject-root.target" ];
};

Expand Down
3 changes: 3 additions & 0 deletions testdata/TestDocker_WithProject_out.nix
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@
serviceConfig = {
Restart = "none";
};
unitConfig = {
AllowIsolate = true;
};
partOf = [ "docker-compose-myproject-root.target" ];
};

Expand Down
3 changes: 3 additions & 0 deletions testdata/TestDocker_out.nix
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,9 @@
serviceConfig = {
Restart = "none";
};
unitConfig = {
AllowIsolate = true;
};
partOf = [ "docker-compose-myproject-root.target" ];
};

Expand Down
3 changes: 3 additions & 0 deletions testdata/TestPodman_WithProject_out.nix
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,9 @@
serviceConfig = {
Restart = "none";
};
unitConfig = {
AllowIsolate = true;
};
partOf = [ "podman-compose-myproject-root.target" ];
};

Expand Down
3 changes: 3 additions & 0 deletions testdata/TestPodman_out.nix
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@
serviceConfig = {
Restart = "none";
};
unitConfig = {
AllowIsolate = true;
};
partOf = [ "podman-compose-myproject-root.target" ];
};

Expand Down
1 change: 1 addition & 0 deletions testdata/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ services:
- "traefik.http.routers.traefik.tls.certresolver=htpc"
- "traefik.http.routers.traefik.middlewares=chain-authelia@file"
- "compose2nix.systemd.service.Restart=none"
- "compose2nix.systemd.unit.AllowIsolate=true"
network_mode: "container:sabnzbd"
logging:
driver: "json-file"
Expand Down

0 comments on commit 3205404

Please sign in to comment.