servers/psmf: add psmf server docs, nginx/tailscale config, and data-sync

Document the psmf host (DNS, second tailscale netns instance, nginx
vhosts, migration plan) and add the docker-dev-22 psmf-data-sync
service plus the storage-23 pg_hba.conf entry it needs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-09 00:05:39 +02:00
parent d541f2e1d2
commit 6efa069b12
18 changed files with 624 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# best-effort cleanup, don't fail on missing pieces
# location: /usr/local/sbin/ts2-netns-down
iptables -t nat -D POSTROUTING -s 10.200.0.0/30 -o br0 -j MASQUERADE 2>/dev/null || true
iptables -D FORWARD -i veth-ts2 -o br0 -j ACCEPT 2>/dev/null || true
iptables -D FORWARD -o veth-ts2 -i br0 -m state --state RELATED,ESTABLISHED -j ACCEPT 2>/dev/null || true
ip link del veth-ts2 2>/dev/null || true
ip netns del ts2 2>/dev/null || true
rm -rf /etc/netns/ts2