Files
uncloud/website
Justin BradfordandGitHub 3b4bcb7932 feat: support service.gpus and reservations.devices (#156)
* feat: support compose.yaml `service.gpus` and `service.deploy.resources.reservations.devices` DeviceRequests to Docker container
* Fix lint error
* Adjust test comments to work with linter
* Rename DeviceRequests to DeviceReservations to be more consistent with compose nomenclature
* Device reservation changes are immutable and should trigger a container recreate rather than update
2025-10-27 16:49:38 +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