mirror of
https://github.com/kmein/niveum
synced 2026-03-20 03:51:07 +01:00
makanek: host online scrabble
This commit is contained in:
@@ -16,6 +16,7 @@ in {
|
|||||||
./names.nix
|
./names.nix
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
./radio-news.nix
|
./radio-news.nix
|
||||||
|
./scrabble.nix
|
||||||
# ./onlyoffice.nix
|
# ./onlyoffice.nix
|
||||||
./retiolum-map.nix
|
./retiolum-map.nix
|
||||||
./tarot.nix
|
./tarot.nix
|
||||||
|
|||||||
20
systems/makanek/scrabble.nix
Normal file
20
systems/makanek/scrabble.nix
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
let
|
||||||
|
port = 9090;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
virtualisation.oci-containers = {
|
||||||
|
backend = "podman";
|
||||||
|
containers.xanado = {
|
||||||
|
volumes = [ ];
|
||||||
|
ports = [ "${toString port}:9093" ];
|
||||||
|
environment.TZ = "Europe/Berlin";
|
||||||
|
image = "ghcr.io/cdot/xanado:v3.1.6";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."scrabble.kmein.de" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/".proxyPass = "http://localhost:${toString port}";
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user