Node.js application with persistent code directory
cardinal blueprint install node-app
# or override resources / env at install time:
cardinal blueprint install node-app --memory 1g --cpus 2 -e KEY=value -y cardinal run -d \
--restart unless-stopped \
-n node-app \
-p "3000:3000/tcp" \
-v "node_app:/app" \
--memory 512m \
--cpus 1.0 \
-e NODE_ENV="production" \
-e PORT="3000" \
node:22-alpine \
node /app/index.js | Environment variable | Default value |
|---|---|
NODE_ENV | production |
PORT | 3000 |
Caddy web server with auto-HTTPS, custom config and static files
caddy:alpineFileBrowser — web-based file manager with authentication
filebrowser/filebrowser:latestGhost blogging platform with persistent content
ghost:latestNginx web server with custom config and static files
nginx:alpineWordPress with persistent content and plugin data
wordpress:latestNode.js + PostgreSQL 16 — Web app plus database with healthcheck.
Node.js + Nginx — App behind a reverse proxy.
Node.js + PostgreSQL 16 — Compose-compatible YAML variant of the Node + Postgres stack.