Skip to main content
NodeForgeCMS ships with a production-ready Dockerfile and docker-compose.yml that orchestrate the CMS server, MySQL 8, and Redis 7 as a single multi-container application. This is the fastest path to a reproducible, isolated deployment — all service dependencies are declared in one file, and a single command brings the entire stack online. If you’re running on a container-friendly host or already use Docker in your workflow, this is the recommended deployment path.

Automated Deployment with deploy.sh

The project includes a deploy.sh script that automates the full build-and-restart cycle — useful for deploying updates without manual steps:
The script typically handles pulling the latest code, rebuilding the Docker image, and restarting the affected containers. Review the script contents before running it on a new server to understand exactly what it does in your specific project version.

Useful Docker Compose Commands

Run docker compose logs -f immediately after docker compose up -d to watch the startup sequence in real time. If the app container exits unexpectedly, the logs will show the exact error — most commonly a misconfigured .env value or a database connection failure.