No description
  • Dockerfile 50.4%
  • TypeScript 25.5%
  • JavaScript 12.4%
  • Vue 8.1%
  • Erlang 3.6%
Find a file
2026-06-19 05:21:11 +02:00
backend Init nstack demo2 2026-06-19 05:05:35 +02:00
deploy/nstack Verify push deploy marker 2026-06-19 05:10:57 +02:00
frontend Verify auto-created webhook deploy 2026-06-19 05:21:11 +02:00
scripts Init nstack demo2 2026-06-19 05:05:35 +02:00
.dockerignore Init nstack demo2 2026-06-19 05:05:35 +02:00
.gitignore Init nstack demo2 2026-06-19 05:05:35 +02:00
nstack.config.mjs Init nstack demo2 2026-06-19 05:05:35 +02:00
package.json Init nstack demo2 2026-06-19 05:05:35 +02:00
pnpm-lock.yaml Init nstack demo2 2026-06-19 05:05:35 +02:00
pnpm-workspace.yaml Init nstack demo2 2026-06-19 05:05:35 +02:00
README.md Init nstack demo2 2026-06-19 05:05:35 +02:00

Nstack Demo 2

Encore + Nuxt app deployed by nstack.

Local

pnpm install
pnpm dev

Deploy

Point the domain at your Dokploy server. If this app was not linked during nstack init, run:

nstack configure --domain <domain> --dokploy-url https://dokploy.example.com --dokploy-api-key <key> --repository https://github.com/acme/nstack-demo2.git
nstack deploy

After that, the usual loop is small:

pnpm check
nstack deploy
nstack status

Deploy settings live in .nstack/local.env. App runtime secrets live in .nstack/secrets.env.

For deploy-on-push, connect the matching Git provider in Dokploy first. nstack can configure provider-backed Compose sources for GitHub, GitLab, Bitbucket, and Gitea/Forgejo. Use deploy.source in nstack.config.mjs for advanced provider fields such as explicit provider ids, GitLab path namespace, Bitbucket slug, or custom plain-Git SSH key id.

Secrets

nstack env set API_SECRET
nstack env push

Use nstack env pull --all when remote env changed and you want to refresh local secrets.

Recovery

nstack doctor
nstack logs --follow
nstack pull
nstack rollback

nstack provisions declared Encore resources automatically. Dokploy Domains/Traefik handle ingress; there is no proxy container in this template. By default Dokploy builds the production Nuxt server and Encore backend from source through Compose, so no external image registry is required.