Skip to content

Production deployment

Use a published DockerHub image in production. The server should not rebuild the application locally.

env
NFZ_DOCS_IMAGE=vevedh/vitepress-builder
NFZ_DOCS_IMAGE_TAG=pro-0.1.165

Adjust the tag for the selected edition:

env
NFZ_DOCS_IMAGE_TAG=community-0.1.165
NFZ_DOCS_IMAGE_TAG=enterprise-0.1.165

Minimal variables

env
NODE_ENV=production
NUXT_HOST=0.0.0.0
NUXT_PORT=3000
MONGODB_URL=mongodb://mongodb:27017/vitepress-builder
NFZ_EDITION=pro
NFZ_SEED_ADMIN_ENABLED=true
NFZ_SEED_ADMIN_EMAIL=admin@example.local
NFZ_SEED_ADMIN_USERID=admin@example.local
NFZ_SEED_ADMIN_PASSWORD=replace-with-a-strong-password

Important checks

  • Use persistent MongoDB storage.
  • Do not keep a weak password in the stack.
  • Check that the domain points to the VPS.
  • Enable TLS through the reverse proxy.
  • Recreate the container after each tag change.

VitePress Builder production guide.