Commit graph

4 commits

Author SHA1 Message Date
Tim Stollberg
4811d33fe7 fix(docker): use host port 33307 for mysql to avoid local 3306 collision 2026-07-18 16:16:36 +07:00
Tim Stollberg
0c8fa056d2 feat(docker): expose mysql on host loopback for SSH-tunneled DB access
Binds only to 127.0.0.1 on the Coolify host, not 0.0.0.0, so the DB
is reachable via an SSH tunnel (e.g. SequelAce) but never exposed
publicly.
2026-07-18 16:13:34 +07:00
Tim Stollberg
0638d9c143 fix(docker): remove redundant custom network from prod compose
nginx sat on two Docker networks (Coolify's shared per-app network,
where coolify-proxy lives, plus our custom "mandant" bridge). With
no explicit traefik.docker.network label, Traefik's Docker provider
picked one non-deterministically across deploys — when it picked
"mandant", its backend connection went to an unreachable network and
silently hung after completing the TLS/HTTP handshake with clients.

All services already share Coolify's injected network, so the custom
network was redundant. Removing it leaves each container on exactly
one network, eliminating the ambiguity.
2026-07-18 15:58:40 +07:00
Tim Stollberg
a95fac5c0d feat(docker): add production docker-compose for Coolify deployment
Coolify builds with --project-directory set to the repo root, which broke
the dev compose file's relative paths. Adds a dedicated prod compose stack
(baked-in code, no bind mounts, no hardcoded secrets, static Nuxt build
served by nginx) so local dev and Coolify no longer share fragile path
assumptions.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-18 14:59:06 +07:00