Skip to content

About

Web application for a transit system using Infobús

Topics

Resources

Contributing

Stars

92 stars

Watchers

1 watching

Forks

Latest commit

 

History

64 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuxt SaaS Template

Nuxt UI

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.

Nuxt SaaS Template

Quick Start

npm create nuxt@latest -- -t ui/saas

Deploy your own

Deploy with Vercel

Setup

Make sure to install the dependencies:

pnpm install

Development Server

Start the development server on http://localhost:3000:

pnpm dev

Production

Build the application for production:

pnpm build

Locally preview production build:

pnpm preview

Check out the deployment documentation for more information.

Deploy with Docker Compose and Traefik

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.

  1. 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
  2. Build and start:

    docker compose up -d --build
  3. 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.

Renovate integration

Install Renovate GitHub app on your repository and you are good to go.

About

Web application for a transit system using Infobús

Topics

Resources

Contributing

Stars

92 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages