# BretFisher/node-docker-good-defaults

sample node app for Docker examples

Repository: https://github.com/BretFisher/node-docker-good-defaults
Canonical: https://ross.abutalabs.com/products/node-docker-good-defaults
Language: JavaScript
License: MIT
License Family: permissive
Topics: nodejs, docker, dockerfile, docker-compose, npm, nodemon, vscode
Last push: 2026-01-08T22:39:38+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 61, release rhythm 35, longevity 100
- inputs: {"age_days": 3807, "days_push": 237, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2393, forks 487 (observed 2026-08-28T04:06:43.434228+00:00)

## What it is
A sample Node.js application demonstrating Docker best practices for local development and production deployment. It serves as a reference template showing good defaults for Dockerfiles, Docker Compose, bind-mounts, nodemon, and VS Code debugging.

## Use cases
- learn how to dockerize a node app
- example dockerfile for nodejs development
- set up docker compose with hot reload for node
- template for node docker production image
- debug node app in container with vscode
- avoid installing node and npm on host

## When to choose
- you want a battle-tested starting point for running Node.js in Docker
- you need dev-to-prod parity with docker compose
- you're learning Docker best practices for Node.js

## When to avoid
- you need a production framework rather than an example repo
- your stack isn't Node.js
- you need advanced multi-stage patterns beyond the basics (see the author's more advanced repos)

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, deployment, configuration-management
- domain: developer-tools, tutorials
- platform: cross-platform
- tags: docker-compose, dockerfile, nodejs, sample-app, best-practices, nodemon, vscode, devops, containers, docker

## Member repositories
- BretFisher/node-docker-good-defaults (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:43.434228+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:34:24.899621+00:00, confidence not recorded.
  - readme: https://github.com/BretFisher/node-docker-good-defaults (fetched 2026-08-28T04:06:43.434228+00:00, sha 12505726f05a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
