summaryrefslogtreecommitdiff
path: root/hostnix/elmo
diff options
context:
space:
mode:
Diffstat (limited to 'hostnix/elmo')
-rw-r--r--hostnix/elmo/rss.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/hostnix/elmo/rss.nix b/hostnix/elmo/rss.nix
index f343d83..421934e 100644
--- a/hostnix/elmo/rss.nix
+++ b/hostnix/elmo/rss.nix
@@ -23,4 +23,22 @@
};
# TODO services.oauth2-proxy.nginx.virtualHosts = { "mf.mou.fo" = {}; };
+
+ virtualisation.podman.enable = true;
+ virtualisation.oci-containers = {
+ containers = {
+ rss = {
+ image = "codeberg.org/danb/rss";
+ ports = [ "127.0.0.1:8283:80" ];
+ volumes = [ "/home/joe/rss:/app/storage" ];
+ autoStart = true;
+ };
+ };
+ };
+
+ services.nginx.virtualHosts."rss.elmo.mou.fo" = {
+ locations."/" = {
+ proxyPass = "http://localhost:8283";
+ };
+ };
}