service: ollama + open-webui

This commit is contained in:
2024-04-14 21:04:25 +02:00
parent 653476ec32
commit 8d4d1e4be8
4 changed files with 34 additions and 15 deletions

View File

@@ -40,6 +40,10 @@
environment = {
etc = {
"fail2ban/filter.d/open-webui.conf" = {
source = ../../modules/services/server/fail2ban/filter/open-webui.conf;
mode = "0444";
};
"fail2ban/filter.d/gitea.conf" = {
source = ../../modules/services/server/fail2ban/filter/gitea.conf;
mode = "0444";
@@ -80,6 +84,12 @@
findtime = "15m";
};
jails = {
open-webui = ''
enabled = true
filter = open-webui
backend = systemd
action = iptables-allports
'';
gitea = ''
enabled = true
filter = gitea