From c29461a201430c02bd9bb7bdbccc0b92b0ecec6c Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Wed, 9 Oct 2024 18:47:52 +0200 Subject: [PATCH] refactor(api): always use HOST=0.0.0.0 with docker compose (#56618) --- .github/workflows/e2e-with-new-api.yml | 1 - docker-compose.yml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e-with-new-api.yml b/.github/workflows/e2e-with-new-api.yml index 8522639b03e..800bf149c1d 100644 --- a/.github/workflows/e2e-with-new-api.yml +++ b/.github/workflows/e2e-with-new-api.yml @@ -147,7 +147,6 @@ jobs: - name: Set freeCodeCamp Environment Variables (needed by api) run: | cp sample.env .env - echo 'HOST=0.0.0.0' >> .env - name: Install playwright dependencies run: npx playwright install --with-deps diff --git a/docker-compose.yml b/docker-compose.yml index dabaa283986..9fc91e930e9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,5 +34,6 @@ services: # container, so we have to override these variables. - MONGOHQ_URL=mongodb://mongo:27017/freecodecamp?directConnection=true - MAILHOG_HOST=mailhog + - HOST=0.0.0.0 ports: - '3000:3000'