Skip to content

Repository files navigation

Nuxt website

Setup

Make sure to install the dependencies:

bun install

Development Server

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

bun run dev

Docker compose

Example docker-compose.override.yml with traefik:

services:
  bun:
    labels:
      traefik.enable: true
      traefik.http.routers.bun.rule: Host(`bun.localhost`)
      traefik.http.routers.bun.entrypoints: web,websecure
      traefik.http.services.bun.loadbalancer.server.port: 3000

Example docker-compose.override.yml with local development:

services:
  bun:
    build:
      target: local
    ports:
      - 3000:3000
    volumes:
      - .:/app

Production

Just use the Dockerfile :)

Non-docker

Build the application for production:

bun run build

Run production build:

bun .output/server/index.mjs

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages