Files
tukutoi/docker-compose.yml
T
2026-11-25 16:11:27 +00:00

89 lines
2.0 KiB
YAML

name: tukutoi
services:
web:
build:
context: ssh://git@10.7.0.1:2222/TukuToi/TukuToi-LLC-Website.git#main
target: web
network: host
entitlements:
- network.host
ssh:
- default
restart: unless-stopped
depends_on:
- php
networks:
default:
npm_proxy:
ipv4_address: 192.168.99.18
php:
image: tukutoi-php:latest
pull_policy: never
build:
context: ssh://git@10.7.0.1:2222/TukuToi/TukuToi-LLC-Website.git#main
target: php
network: host
entitlements:
- network.host
ssh:
- 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
- type: bind
source: /srv/appdata/tukutoi/held
target: /var/lib/tukutoi-held
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
held:
image: tukutoi-php:latest
pull_policy: never
user: www-data
command: ["php", "/var/www/api/bin/held.php", "--loop"]
env_file:
- /srv/docker/secrets/tukutoi/forms.env
volumes:
- type: bind
source: /srv/appdata/tukutoi/held
target: /var/lib/tukutoi-held
bind:
create_host_path: false
restart: unless-stopped
networks:
- default
networks:
npm_proxy:
external: true