Install mccs
At the end you have the wizard answering on port 8080. No image is published yet: Docker builds it from the repository.
Docker Compose
Section titled “Docker Compose”git clone https://github.com/yetysw/mccs.git && cd mccscp .env.example .envEdit .env (at least MAIL_HOST, PUBLIC_URL, BRAND_NAME), then start it:
docker compose up -d --build- Changing environment variables only needs
docker compose up -d. - Changing code, guides or images needs
docker compose up -d --build. - The host port is
HOST_PORT(8080 by default) and maps to port 8080 in the container. - The image is based on
node:22-alpineand runs as thenodeuser, with a read-only filesystem,no-new-privilegesand all capabilities dropped. A healthcheck calls/healthzevery 30 seconds. - Logs use the
json-filedriver, capped at 2 files of 5 MB.
To undo: docker compose down. Nothing is written to disk, so there is nothing else to remove.
Without Docker
Section titled “Without Docker”Node 20 or later is required (engines in package.json); the Dockerfile uses Node 22. There is nothing to install.
PORT=8080 MAIL_HOST=mail.example.com PUBLIC_URL=https://config.example.com node server/index.jsPut it online
Section titled “Put it online”mccs speaks plain HTTP. For real use, put it behind an HTTPS reverse proxy: see Reverse proxy and HTTPS.