https://github.com/griffindeetox/docker-mini
This repository is designed as a lightweight, practical introduction to using Docker for modern development and deployment workflows. Whether you are just starting out or need a concise sandbox for testing Docker concepts, docker-mini is the perfect starting point.
https://github.com/griffindeetox/docker-mini
docker github github-actions javascript redis
Last synced: 3 months ago
JSON representation
This repository is designed as a lightweight, practical introduction to using Docker for modern development and deployment workflows. Whether you are just starting out or need a concise sandbox for testing Docker concepts, docker-mini is the perfect starting point.
- Host: GitHub
- URL: https://github.com/griffindeetox/docker-mini
- Owner: Griffindeetox
- License: other
- Created: 2025-09-24T01:06:15.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-24T02:11:22.000Z (9 months ago)
- Last Synced: 2025-09-24T03:31:52.323Z (9 months ago)
- Topics: docker, github, github-actions, javascript, redis
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# docker-mini (Node + Redis via Docker Compose)
A tiny service that demonstrates container best practices:
- Multi-stage Dockerfile with **non-root** user
- Container **HEALTHCHECK** hitting `/health`
- **Redis** sidecar + **named volume** for persistence
- Simple stateful endpoint: `/incr`
## Run locally
```bash
docker compose up -d --build
curl -s http://localhost:3000/health # {"status":"ok"}
curl -s http://localhost:3000/incr # {"counter":1}