Add wireguard

This commit is contained in:
muon 2024-08-27 21:50:43 +00:00
parent 4dc3200d68
commit 86e4bf1c4e
10 changed files with 156 additions and 41 deletions

View file

@ -7,24 +7,24 @@
};
config = lib.mkIf config.mods.docker.media.enable {
virtualisation.arion = {
backend = "docker";
projects = {
"hyperpipe".settings.services = {
"hyperpipe-frontend".service = {
image = "codeberg.org/hyperpipe/hyperpipe:latest";
container-name = "hyperpipe-frontend";
restart = "unless-stopped";
ports = ["8080:80"];
};
"hyperpipe-backend".service = {
image = "codeberg.org/hyperpipe/hyperpipe:latest";
container_name = "hyperpipe-backend";
restart = "unless-stopped";
ports = ["3000:3000"];
};
};
};
};
# virtualisation.arion = {
# backend = "docker";
# projects = {
# "hyperpipe".settings.services = {
# "hyperpipe-frontend".service = {
# image = "codeberg.org/hyperpipe/hyperpipe:latest";
# container-name = "hyperpipe-frontend";
# restart = "unless-stopped";
# ports = ["8080:80"];
# };
# "hyperpipe-backend".service = {
# image = "codeberg.org/hyperpipe/hyperpipe:latest";
# container_name = "hyperpipe-backend";
# restart = "unless-stopped";
# ports = ["3000:3000"];
# };
# };
# };
# };
};
}