Fully built SaaS application to launch your next project with a landing page, a pricing page, a documentation and a blog powered by Nuxt UI components.
npm create nuxt@latest -- -t ui/saasMake sure to install the dependencies:
pnpm installStart the development server on http://localhost:3000:
pnpm devBuild the application for production:
pnpm buildLocally preview production build:
pnpm previewCheck out the deployment documentation for more information.
The production stack is a single container behind a Traefik reverse proxy that is already running on the server and owns the external Docker network traefik_proxy. Traefik issues the Let's Encrypt certificate through its certificate resolver.
-
Create the environment file and set the public domain (its DNS record must point to the server):
cp .env.example .env # edit DOMAIN, and TRAEFIK_* if your Traefik uses other entrypoint/resolver names -
Build and start:
docker compose up -d --build
-
Check the container is healthy and reachable through Traefik:
docker compose ps docker compose logs -f web
Configuration lives in .env:
| Variable | Default | Purpose |
|---|---|---|
DOMAIN |
— (required) | Hostname routed by Traefik, e.g. infobus.example.com |
TRAEFIK_ENTRYPOINT |
websecure |
Traefik HTTPS entrypoint |
TRAEFIK_HTTP_ENTRYPOINT |
web |
Traefik HTTP entrypoint; requests are redirected to HTTPS |
TRAEFIK_CERT_RESOLVER |
letsencrypt |
Name of the ACME resolver configured in Traefik |
IMAGE_NAME / IMAGE_TAG |
infobus-web / latest |
Tag of the image built by Compose |
The Dockerfile builds the site in a Node 22 stage and ships only the Nitro output (.output), running as the unprivileged node user with a built-in health check on port 3000. To deploy a new version, pull the code and run docker compose up -d --build again.
Install Renovate GitHub app on your repository and you are good to go.