7b9ccf7cc74797c5478d89a217813beac1ff399a
TukuToi
Astro website with PHP-FPM forms, Postmark email delivery, and spam screening through downloaded lists and local Ollama.
Deployment layout
- Compose:
/srv/docker/tukutoi/docker-compose.yml - Static configuration/source: deployment configuration under
/srv/docker/tukutoi; private application source, Dockerfile, and nginx/PHP configuration fromssh://git@git.yoonect.com:2222/TukuToi/TukuToi-LLC-Website.git, branchmain, build targetswebandphp - Non-secret environment: Compose declares
OLLAMA_URL=http://192.168.1.4:11434,OLLAMA_MODEL=qwen3.5:4b, andOLLAMA_TIMEOUT=20; other application defaults are declared in source - Secrets:
/srv/docker/secrets/tukutoi/forms.env; builds authenticate through the operator's SSH agent - NVMe application state:
/srv/appdata/tukutoi/spam-lists, mounted at/var/lib/tukutoiread-write by thelistsupdater and read-only by PHP; owned by the PHP image's numericwww-dataidentity, directory mode0700 - Bulk HDD data: none
- Other mounts: none
Secrets are never committed to this repository. The central secret environment is supplied to the php service. Required settings are FORM_SECRET, POSTMARK_TOKEN, MAIL_FROM, and MAIL_TO.
Dependencies and recovery
- Networks/dependencies: default project bridge between web, PHP, and lists; web joins external
npm_proxyat192.168.99.18, HTTP port 80, without host-published ports. PHP requires Postmark with four configured templates and the Mac's Ollama endpoint with modelqwen3.5:4b; lists requires StopForumSpam downloads. Missing lists disable list checks; unavailable Ollama leaves messages model-unchecked. Builds require private Git access, base-image/npm downloads, host build networking, and SSH-agent forwarding. The Node build stage uses--dns-result-order=ipv4first --no-network-family-autoselection. - Back up: deployment repository, private application repository, protected
forms.env, and Postmark template configuration - Re-creatable: two images and three containers, generated website, transient APCu state, and downloaded spam-list SQLite data; initialize lists before serving updated forms. The updater shares
tukutoi-php:latest, runs aswww-data, and refreshes daily with six-hour retry after failed updates. Rebuild web/PHP targets frommainwith Bake permissions--allow=network.host --allow=ssh, retaining release image IDs/source revisions for rollback
Description
Astro website served by nginx, with PHP-FPM contact and review forms delivered through Postmark.
https://www.tukutoi.com
52 KiB
0 Stars
1 Watchers
0 Forks