Skip to content

Commit

Permalink
~
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Feb 29, 2024
1 parent 0c19567 commit bee515d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/compose-up.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ in
type = types.str;
default = "/none";
};
extraArgs = mkOption {
type = types.str;
default = "";
};
};
});
default = [ ];
Expand All @@ -37,7 +41,7 @@ in
{
User = "root";
WorkingDirectory = s.workingDirectory;
ExecStart = "${lib.getExe' pkgs.docker-compose "docker-compose"} up";
ExecStart = "${lib.getExe' pkgs.docker-compose "docker-compose"} up ${s.extraArgs}";
Restart = "on-failure";
};
};
Expand Down

0 comments on commit bee515d

Please sign in to comment.