Fix Dokploy compose

This commit is contained in:
gabdevele
2026-06-10 23:00:28 +02:00 Unverified
parent 7abcc8e78a
commit 3e9a0ca978
2 changed files with 47 additions and 16 deletions
+14
View File
@@ -131,6 +131,20 @@ ctest --test-dir build --output-on-failure
The `RequestLogger` plugin logs every response as method, path, status and
client address.
## Dokploy
Use `docker-compose.dev.yml` as the Dokploy compose path for a self-contained
backend deployment with MySQL and MailHog. Configure the public domain in
Dokploy against service `backend` and container port `5555`.
Before deploying, create an Advanced Mount named `config.json` in Dokploy and
paste the repository `config.json` content into it. The compose file mounts it
from `../files/config.json` so AutoDeploy does not depend on bind mounts from a
freshly cloned repository.
Set `MYSQL_PASSWORD`, `MYSQL_ROOT_PASSWORD` and any other environment-specific
values in Dokploy environment variables.
## Current Endpoints
- `GET /api/v1/health`: process health check, no external dependency.