Skip to content

Commit

Permalink
Try to run container on host network
Browse files Browse the repository at this point in the history
  • Loading branch information
textbook committed Jan 31, 2024
1 parent 502ae5e commit 39df524
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- id: env-file
run: |
echo "file=$ENV_FILE" >> "$GITHUB_OUTPUT"
echo 'DATABASE_URL=postgres://testdb:keepitsecret@postgres:5432/testdb' >> "$ENV_FILE"
echo 'DATABASE_URL=postgres://testdb:keepitsecret@localhost:5432/testdb' >> "$ENV_FILE"
echo 'LOG_LEVEL=debug' >> "$ENV_FILE"
echo 'NODE_ENV=docker' >> "$ENV_FILE"
env:
Expand All @@ -75,6 +75,7 @@ jobs:
--detach \
--env-file ${{ steps.env-file.outputs.file }} \
--init \
--network 'host' \
--publish 4321:80 \
textbook/starter-kit:v2)" >> $GITHUB_OUTPUT
- run: npm run e2e
Expand Down

0 comments on commit 39df524

Please sign in to comment.