Deploy via Portainer
mainPortainer can deploy Monochrome from a GitHub fork using the Repository method.
Setup Steps
- In Portainer, go to Stacks > Add Stack > Repository.
- Enter your fork URL and branch.
- Set Compose path to
docker-compose.yml. - Add the following under Environment variables:
COMPOSE_PROFILES=pocketbase(to enable PocketBase)PB_ADMIN_EMAIL=your@email.comPB_ADMIN_PASSWORD=your_secure_password- Any other variables from
.env.example.
- Enable GitOps updates for auto-redeployment on push.
Important Warnings
- Do NOT use the
devprofile in Portainer. Thedevprofile relies on local volume mounts for hot-reloading, which will fail in a remote Portainer deployment because the source code is not on the host machine. - Override Files: If your fork uses
docker-compose.override.yml, ensure you remove it from.gitignoreso Portainer can load it automatically.