Add spam-list updater and local Ollama screening

This commit is contained in:
smileBeda committed 2026-10-30 21:26:36 +00:00
1 parent 3902076440
commit 7b9ccf7cc7
2 files changed
+33 -5

No files matched your search

+28
View File
@@ -19,6 +19,8 @@ services:
ipv4_address: 192.168.99.18
php:
image: tukutoi-php:latest
pull_policy: never
build:
context: ssh://git@git.yoonect.com:2222/TukuToi/TukuToi-LLC-Website.git#main
target: php
@@ -29,6 +31,32 @@ services:
- default
env_file:
- /srv/docker/secrets/tukutoi/forms.env
environment:
OLLAMA_URL: http://192.168.1.4:11434
OLLAMA_MODEL: qwen3.5:4b
OLLAMA_TIMEOUT: "20"
volumes:
- type: bind
source: /srv/appdata/tukutoi/spam-lists
target: /var/lib/tukutoi
read_only: true
bind:
create_host_path: false
restart: unless-stopped
networks:
- default
lists:
image: tukutoi-php:latest
pull_policy: never
user: www-data
command: ["php", "/var/www/api/bin/spam-lists.php", "--loop"]
volumes:
- type: bind
source: /srv/appdata/tukutoi/spam-lists
target: /var/lib/tukutoi
bind:
create_host_path: false
restart: unless-stopped
networks:
- default