Core concepts
Endpoints
Public HTTPS URLs that route to service ports on your machines.
An endpoint is a public HTTPS URL managed by Nethera. It maps to a service port on a machine through Nethera's edge and the machine tunnel.
Endpoint config lives under services.<service>.nethera.public.
services: web: image: ghcr.io/acme/app:latest nethera: public: 3000 auth: loginFields
publicselects the container port to expose. Usepublic: 3000orpublic: [3000].authcontrols whether the endpoint requires Nethera login.
The public port does not need to be listed under Compose ports. Nethera binds the tunnel-facing port during deployment.
Endpoint environment variables
When a deployment has a public endpoint, Nethera injects the endpoint URL and hostname through the same env-file mechanism used for app secrets.
For one public endpoint, services receive:
NETHERA_PUBLIC_HOST=example-web-a7fa.sg.nethera.io
NETHERA_PUBLIC_URL=https://example-web-a7fa.sg.nethera.io
NETHERA_WEB_HOST=example-web-a7fa.sg.nethera.io
NETHERA_WEB_URL=https://example-web-a7fa.sg.nethera.ioFor multiple public services, each endpoint is available as NETHERA_<SERVICE>_URL and NETHERA_<SERVICE>_HOST, for example NETHERA_API_URL and NETHERA_API_HOST.
The traffic path is:
Browser -> Nethera edge -> WireGuard tunnel -> user machine -> Docker serviceEndpoints remain tied to the machine deployment that created them. If a machine is removed from Nethera, its endpoints are disabled rather than hard-deleted.