mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-20 04:01:32 -04:00
refactor(api): always use HOST=0.0.0.0 with docker compose (#56618)
This commit is contained in:
committed by
GitHub
parent
4d78206076
commit
c29461a201
1
.github/workflows/e2e-with-new-api.yml
vendored
1
.github/workflows/e2e-with-new-api.yml
vendored
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user