Skip to content

Commit 7bacf09

Browse files
bugfix
1 parent 7d8c30d commit 7bacf09

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919

2020
- name: Crawl
2121
run: |
22-
while ! nc -z localhost 8080; do sleep 0.1; done; # Wait for server to start
22+
while ! nc -z localhost 80; do sleep 0.1; done; # Wait for server to start
2323
mkdir -p output
24-
wget -P output -nH --mirror --adjust-extension --page-requisites --no-parent http://127.0.0.1:8080
24+
wget -P output -nH --mirror --adjust-extension --page-requisites --no-parent http://127.0.0.1:80
2525
2626
- name: Stop containers
2727
if: always()

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ services:
44
web:
55
image: nginx:1.21.4
66
network_mode: "host"
7-
ports:
8-
- "8080:80"
7+
# ports:
8+
# - "8080:80"
99
volumes:
1010
- ./code:/code
1111
- ./default.conf:/etc/nginx/conf.d/default.conf

0 commit comments

Comments
 (0)