Loading...
Loading...
Set up Customermates on your own infrastructure with Docker Compose, PostgreSQL, and a production-ready Next.js app container.
Before deploying, make sure you have:
For production usage, use a reverse proxy with HTTPS termination in front of the app container.
From the project root on your server:
chmod +x scripts/selfhost-setup.sh
./scripts/selfhost-setup.shThe setup script is expected to:
.env from .env.selfhost.example if it does not exist.If you need to adjust configuration values, update your .env file and re-run the setup script.
After setup, verify the containers are running:
docker compose psThen follow the application logs until the app reports it is ready:
docker compose logs -f appFor database diagnostics:
docker compose logs -f postgresOnce the app is reachable in the browser:
After this first login, continue with Managing Your Installation to handle updates, restarts, and troubleshooting workflows.