phantom-ship: bind shelfish to '::' so it listens on both IPv4 and IPv6

ZT mesh addresses are IPv6; uvicorn on 0.0.0.0 only listens on IPv4
so vps-relay's caddy got 'connection refused' over the mesh.
This commit is contained in:
Danny 2026-05-03 06:41:04 +02:00
parent f599a76aba
commit 8056e510c5

View file

@ -284,7 +284,7 @@ in
}; };
serviceConfig = { serviceConfig = {
WorkingDirectory = "/home/danny/shelfish"; WorkingDirectory = "/home/danny/shelfish";
ExecStart = "${pythonEnv}/bin/python -m uvicorn server:app --host 0.0.0.0 --port 8081"; ExecStart = "${pythonEnv}/bin/python -m uvicorn server:app --host :: --port 8081";
Restart = "on-failure"; Restart = "on-failure";
RestartSec = 10; RestartSec = 10;
User = "danny"; User = "danny";