refactor(api): always use HOST=0.0.0.0 with docker compose (#56618)

This commit is contained in:
Oliver Eyton-Williams
2024-10-09 18:47:52 +02:00
committed by GitHub
parent 4d78206076
commit c29461a201
2 changed files with 1 additions and 1 deletions

View File

@@ -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

View File

@@ -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'