Private Services
Private services run HTTP apps that are not exposed on the public internet. They use the same build and deploy pipeline as web services but Traefik/gateway public routing is disabled.
When to use a private service
- Internal APIs consumed only by other services in your workspace
- Admin tools that should never receive public traffic
- Microservices behind a public web service gateway
Create a private service
- Click + New → Private Service.
- Configure build/start commands or a Dockerfile.
- Bind to
0.0.0.0andPORTlike a web service.
Reachability
Sibling services connect via container hostname lc-{serviceId} on the configured PORT over the workspace Docker network. There is no private DNS discovery API — use env vars to pass hostnames between services.