From 744e1da71654a94eb694cd8d658ec77e22483ca3 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Thu, 12 Feb 2026 17:53:37 +0100 Subject: [PATCH] fix(infra): resolve identity shadowing by standardizing internal hostnames and isolated networks --- .gitea/workflows/deploy.yml | 2 +- docker-compose.yaml | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 5fd6152..c513e2a 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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 diff --git a/docker-compose.yaml b/docker-compose.yaml index 8e193ac..7ca62dc 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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: