REST API for a Todo desktop application, built with Node.js, Express, and MySQL.
pending, in_progress, completed, blockedThis image contains only the backend. A MySQL 8+ database must be provided separately.
docker run -d \
--name todo-backend \
-p 3000:3000 \
-e HOST=0.0.0.0 \
-e PORT=3000 \
-e DB_HOST=mysql-host \
-e DB_PORT=3306 \
-e DB_USER=todo_app \
-e DB_PASSWORD=change-me \
-e DB_NAME=todo_app \
-e JWT_SECRET=replace-with-a-long-random-secret \
-e CORS_ORIGIN=https://your-frontend.example \
SH4DOW4RE/todo-backend-cicd:latest
The container automatically applies database migrations before starting.
| Variable | Description |
|---|---|
DB_HOST | MySQL hostname |
DB_USER | MySQL user |
DB_PASSWORD | MySQL password |
DB_NAME | MySQL database |
JWT_SECRET | Long random JWT signing secret |
Optional variables include HOST, PORT, DB_PORT, DB_CONNECTION_LIMIT, JWT_EXPIRES_IN, and CORS_ORIGIN.
GET /health
latest — newest successful build from mainsha-<commit> — immutable build associated with a Git commitContent type
Image
Digest
sha256:3269ab150…
Size
56.9 MB
Last updated
3 months ago
docker pull shadowebtechnologies/todo-backend-cicd