Commit graph

4 commits

Author SHA1 Message Date
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
3da50c8967 fix(docker): create required Laravel runtime dirs before composer install
storage/framework/{cache,sessions,views}, storage/logs, and
bootstrap/cache are all gitignored with no tracked placeholder, so a
fresh checkout (as Coolify does) has none of them. composer install's
package:discover post-autoload script writes to bootstrap/cache and
failed with "directory must be present and writable" since it simply
didn't exist yet.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-18 15:34:36 +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
Tim Stollberg
214bf0e5a1 chore: add Docker Compose dev environment 2026-06-23 15:26:59 +07:00