fix(docker): remove network_mode for Dokploy compatibility
Some checks failed
Workflow / ʦ TypeScript (push) Failing after 5m32s
Workflow / ⚫️ Test (push) Has been skipped

Dokploy injects 'networks' into all compose services for Traefik routing,
which is mutually exclusive with 'network_mode: service:supabase-kong'.

Changes:
- Remove network_mode from app service
- App server-side Supabase URL: http://supabase-kong:8000 (Docker DNS)
- App browser-side Supabase URL: ${API_EXTERNAL_URL} (external domain)
- Kong catch-all route: app:3000 instead of localhost:3000
This commit is contained in:
Zaid Marzguioui
2026-03-31 18:48:59 +02:00
parent cae6657c53
commit 1fbe8a630c
2 changed files with 5 additions and 7 deletions

View File

@@ -88,7 +88,7 @@ services:
# Next.js App (catch-all — must be last so API routes take priority)
- name: app
url: http://localhost:3000/
url: http://app:3000/
routes:
- name: app-routes
strip_path: false