Skip to content

Commit

Permalink
Merge pull request #185 from Bastian-Krause/bst/bind-locally
Browse files Browse the repository at this point in the history
testing: bind hawkbit/nginx locally only
  • Loading branch information
ejoerns authored Jan 3, 2025
2 parents de333d1 + be22726 commit 400d39a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ jobs:
- name: Update/launch hawkBit docker container
run: |
docker pull hawkbit/hawkbit-update-server
docker run -d --name hawkbit -p 8080:8080 hawkbit/hawkbit-update-server \
docker run -d --name hawkbit -p ::1:8080:8080 -p 127.0.0.1:8080:8080 \
hawkbit/hawkbit-update-server \
--hawkbit.server.security.dos.filter.enabled=false \
--hawkbit.server.security.dos.maxStatusEntriesPerAction=-1
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ Run hawkBit docker container:

```shell
$ docker pull hawkbit/hawkbit-update-server
$ docker run -d --name hawkbit -p 8080:8080 hawkbit/hawkbit-update-server \
$ docker run -d --name hawkbit -p ::1:8080:8080 -p 127.0.0.1:8080:8080 \
hawkbit/hawkbit-update-server \
--hawkbit.server.security.dos.filter.enabled=false \
--hawkbit.server.security.dos.maxStatusEntriesPerAction=-1
```
Expand Down
4 changes: 2 additions & 2 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ def nginx_config(tmp_path_factory):
access_log /dev/null;
server {{
listen {port};
listen [::]:{port};
listen 127.0.0.1:{port};
listen [::1]:{port};
location / {{
proxy_pass http://localhost:8080;
Expand Down

0 comments on commit 400d39a

Please sign in to comment.