Deploy model: listen port, token files, state directory owner #41

Merged
clawbot merged 1 commits from issue-33-deploy-open-points into next 2026-10-04 01:42:45 +02:00
1 Commits
Author SHA1 Message Date
sneak 0cc4bf0cb7 Deploy model: listen port, token files, state directory owner (closes #33)
check / check (push) Successful in 2m28s
SWWAF_LISTEN_ADDR may set another port: the health check takes its port
from it, and traefik's port label must name the same one. Its address
part stays empty (:9000), so smallwebwaf keeps listening on every
address, where traefik and the health check on 127.0.0.1 both reach it.
A token file is made on the host owned by uid 65532 with mode 0400 and
its directory mounted read-only; through upaas, that directory is one of
the app's volume mounts. The run script of smallwebwaf makes the state
directory and every file in it belong to the smallwebwaf user.

Model: opus-5-5
2026-10-03 23:36:07 +00:00