Files
uncloud/website
Justin BradfordandGitHub ba6290d616 feat: add "nearest.<service>.internal" mode to internal DNS (#159)
* feat: Adding a "nearest.service.local" mode to internal DNS

* Pass listenAddr to internal DNS server (rather than calling into network.MachineIP)

Also adds an exact round-robin via "rr.{service}" mode. Not sure we want that over random or not, though.

* Remove the resolved count and rotating round-robin. "rr.name" mode is now the same as default with random shuffle.

* Add test on nearest internal DNS lookup

* Add docs on internal DNS order modes
2025-10-29 14:25:59 +10:00
..
2025-09-04 18:15:52 +10:00
2025-07-31 19:04:24 +10:00

Website

Landing page

Landing page is a single static HTML file located at ./landing/index.html. It is built using Tailwind CSS.

Local development

cd landing
open index.html
# Watch the Tailwind CSS class changes and rebuild style.css
npm run dev

Docs and Blog

/docs and /blog are built using Docusaurus, a modern static website generator.

Local Development

npm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Deployment

Both the landing page and Docusaurus site are built into a single Docker image that runs Caddy web server to serve the static files.

Before building a production image, test the build locally:

docker compose -f compose.local.yaml up --build

Verify:

Deploy to production

make website-image-push
uc deploy