District infrastructure tracker.
| Resource | Value |
|---|---|
| Server | hydradistrict.experiencenet.com (46.224.179.9) |
| Hetzner | cx23, nbg1 |
| Config | /root/.hydradistrict/config.yaml |
| Data store | YAML store |
| Service | systemctl status hydradistrict |
| Logs | journalctl -u hydradistrict -f |
HydraDistrict tracks district infrastructure. Districts are infrastructure containers (not owned by anyone) that group venues and services geographically. They define the physical topology of the Hydra network.
hydradistrict register --name <name> --location <city>
hydradistrict list
hydradistrict topology
hydradistrict service add --district <name> --type <type> --endpoint <url>
Districts can have latitude and longitude fields for geo-proximity lookups.
curl "https://hydradistrict.experiencenet.com/api/v1/nearest?lat=50.85&lon=4.35"
Returns the closest district with coordinates and the distance in km.
curl "https://hydradistrict.experiencenet.com/api/v1/districts/{id}/services"
Returns a map of service type → URL for that district.
curl -X PUT -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "EU Nuremberg", "location": "Nuremberg, Germany", "latitude": 49.45, "longitude": 11.08, "provider": "hetzner"}' \
https://hydradistrict.experiencenet.com/api/v1/districts/eu-nbg1
ssh root@46.224.179.9
curl -s https://hydradistrict.experiencenet.com/api/v1/health
ssh root@46.224.179.9systemctl status hydradistrictjournalctl -u hydradistrict --since '10 min ago' --no-pagersystemctl restart hydradistrict