Prerequisites
You need:- Docker
- Docker Compose (v2)
Start the stack
- Set the MastermindCMS version in your
.env:
- Start containers:
- Open MastermindCMS in your browser:
http://localhost:5000
Mounted folders
Docker Compose mounts these folders into the container (so you edit locally, CMS reads inside the container):./www -> /MSM2/www./files -> /MSM2/files./config -> /MSM2/config
Example docker-compose.yml
Environment variables (.env)
The example
.env often contains default credentials (like MongoDB root password). Change them for anything beyond local demos.