From 8b2ac6b52bde4540ac5d26696cdc0e6636997fbb Mon Sep 17 00:00:00 2001 From: Paperclip CTO Date: Mon, 18 May 2026 14:55:27 +0200 Subject: [PATCH] fix(ci): use service hostnames for postgres and redis --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36af252..bd08bd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,8 +10,8 @@ env: DJANGO_SECRET_KEY: ci-secret-key-not-for-production DJANGO_SETTINGS_MODULE: config.settings.test DJANGO_ALLOWED_HOSTS: testserver,localhost - DATABASE_URL: postgres://training:training@localhost:5432/training_test - REDIS_URL: redis://localhost:6379/0 + DATABASE_URL: postgres://training:training@postgres:5432/training_test + REDIS_URL: redis://redis:6379/0 jobs: test: