fix(infra): resolve identity shadowing by standardizing internal hostnames and isolated networks
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 4s
Build & Deploy / 🏗️ Build (push) Successful in 1m42s
Build & Deploy / 🧪 QA (push) Successful in 2m14s
Build & Deploy / 🚀 Deploy (push) Successful in 17s
Build & Deploy / 🩺 Health Check (push) Failing after 13s
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-02-12 17:53:37 +01:00
parent f2e38f9c29
commit 744e1da716
2 changed files with 4 additions and 5 deletions

View File

@@ -301,7 +301,7 @@ jobs:
DIRECTUS_DB_USER=$DIRECTUS_DB_USER
DIRECTUS_DB_PASSWORD=$DIRECTUS_DB_PASSWORD
DIRECTUS_API_TOKEN=$DIRECTUS_API_TOKEN
INTERNAL_DIRECTUS_URL=http://directus:8055
INTERNAL_DIRECTUS_URL=http://${PROJECT_NAME}-directus:8055
# Mail
MAIL_HOST=$MAIL_HOST

View File

@@ -49,7 +49,6 @@ services:
infra:
aliases:
- ${PROJECT_NAME:-mb-grid-solutions}-gatekeeper
- gatekeeper
env_file:
- ${ENV_FILE:-.env}
environment:
@@ -77,7 +76,7 @@ services:
infra:
aliases:
- ${PROJECT_NAME:-mb-grid-solutions}-directus
backend:
testing-backend:
env_file:
- ${ENV_FILE:-.env}
environment:
@@ -121,7 +120,7 @@ services:
image: postgres:15-alpine
restart: always
networks:
- backend
- testing-backend
env_file:
- ${ENV_FILE:-.env}
environment:
@@ -134,7 +133,7 @@ services:
networks:
infra:
external: true
backend:
testing-backend:
internal: true
volumes: