Skip to main content

Prerequisites

You need:
  • Docker
  • Docker Compose (v2)

Start the stack

  1. Set the MastermindCMS version in your .env:
  1. Start containers:
  1. 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.