feat(tyr): add wallos.
This commit is contained in:
parent
c1f2b975e1
commit
ca9651efb8
2 changed files with 18 additions and 0 deletions
|
@ -2,5 +2,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
./glance.nix
|
./glance.nix
|
||||||
|
./wallos.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
17
modules/servers/tyr/wallos.nix
Normal file
17
modules/servers/tyr/wallos.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
virtualisation.oci-containers.containers.wallos = {
|
||||||
|
image = "bellamy/wallos:latest";
|
||||||
|
autoStart = true;
|
||||||
|
ports = [
|
||||||
|
"8282:80/tcp"
|
||||||
|
];
|
||||||
|
volumes = [
|
||||||
|
"/var/lib/wallos/db:/var/www/html/db"
|
||||||
|
"/var/lib/wallos/logos:/var/www/html/images/uploads/logos"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
networking.firewall = {
|
||||||
|
allowedTCPPorts = [8282];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue