fix: use Docker container name for Metabase internal communication
All checks were successful
build-and-deploy / build (push) Successful in 44s
build-and-deploy / deploy (push) Successful in 4s

Change Metabase URL from public domain to Docker container name
for proper internal network communication between containers.

Changes:
- Update default METABASE_URL to http://metabase:3000
- Docker DNS resolution works correctly with container names
- Maintains public domain fallback via environment variables

This fixes authentication issues when containers communicate
within the same Docker network.
This commit is contained in:
2025-10-13 17:52:52 -06:00
parent 244b1ae7fb
commit 42c1e20ee3
3 changed files with 5 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
*/
const config = useRuntimeConfig()
const METABASE_URL = config.metabaseUrl || 'https://metabase.nucleoriofrio.com'
const METABASE_URL = config.metabaseUrl || 'http://metabase:3000'
const METABASE_EMAIL = config.metabaseEmail || 'claudeCode0@nucleoriofrio.com'
const METABASE_PASSWORD = config.metabasePassword || 'vK^NyZdZDH#p'