[deploy] Anywhere: the Docker image and compose file (edge and control), the Linux installer and systemd units, the Windows Server installer (Caddy mode, three services), the preview client for Fabrica, and the Windows smoke script

This commit is contained in:
2026-11-17 20:42:04 +01:00
parent 09f6b12676
commit 49c05e2523
12 changed files with 988 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
# Ianitor edge: the Pingora data plane on 80 and 443 (deploy/linux/install.sh writes this).
# Header-rule secrets: add one LoadCredential=<name>:/var/lib/ianitor/credentials/<name> each
# (systemctl edit ianitor-edge).
[Unit]
Description=Ianitor edge (Pingora)
After=network-online.target ianitor-control.service
Wants=network-online.target
StartLimitIntervalSec=0
[Service]
User=ianitor-edge
Group=ianitor
Environment=IANITOR_LOG=info
ExecStart=/usr/local/bin/ianitor-edge --config /var/lib/ianitor/edge/edge.json --admin-socket /run/ianitor-edge/admin.sock --share-revocations /var/lib/ianitor/edge/share-revocations.json
LoadCredential=share-link-key:/var/lib/ianitor/credentials/share-link-key
RuntimeDirectory=ianitor-edge
RuntimeDirectoryMode=0750
ReadWritePaths=/var/lib/ianitor/edge-state /var/lib/ianitor/logs
AmbientCapabilities=CAP_NET_BIND_SERVICE
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
# The first start may come before control has written edge.json.
Restart=always
RestartSec=2
LimitNOFILE=65536
NoNewPrivileges=yes
ProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectControlGroups=yes
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
RestrictNamespaces=yes
LockPersonality=yes
SystemCallArchitectures=native
[Install]
WantedBy=multi-user.target