- docker-compose.yml is now the server form: no published host ports
(expose only), so a port already taken on the host can no longer stop
the stack; local ports moved to docker-compose.override.yml, which
Dokploy never reads
- db healthcheck probes TCP 127.0.0.1 instead of the unix socket and
allows start_period 30s / 12 retries while initdb finishes
- api start_period 20s
':?' made docker compose config/up fail whenever .env was absent (fresh
clone, different working dir, Docker Desktop UI). Falls back to a
documented dev password; prod must still set a real one.
- web: nginx:alpine serving the static SPA, listens on WEB_CONTAINER_PORT
rendered from deploy/nginx.conf.template (envsubst), gzip + cache headers,
/healthz, proxies /api/ to the api container
- api: julia:1.13-bookworm, libpq5 + curl, Pkg.instantiate from the committed
Manifest, listens on FARM_API_PORT, healthcheck on /api/v1/health
- db: postgres:17-alpine with 001_init.sql mounted for first-run schema,
pg_isready healthcheck, named volume
- every port comes from .env (container port + host port separated);
.env.example committed, .env ignored