Skip to content

Commit

Permalink
fix: geoip
Browse files Browse the repository at this point in the history
  • Loading branch information
gokaygurcan authored Aug 30, 2024
1 parent 36ccf75 commit 79af9b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jobs:
- id: test
name: Test
run: |
docker volume create usr-share-geoip
docker run --rm --name geoipupdate -v usr-share-geoip:/usr/share/GeoIP -e GEOIPUPDATE_FREQUENCY=0 -e GEOIPUPDATE_ACCOUNT_ID='${{ secrets.GEOIPUPDATE_ACCOUNT_ID }}' -e GEOIPUPDATE_LICENSE_KEY='${{ secrets.GEOIPUPDATE_LICENSE_KEY }}' -e GEOIPUPDATE_EDITION_IDS='GeoLite2-City GeoLite2-Country' maxmindinc/geoipupdate
docker run --rm --name nginx gokaygurcan/nginx nginx -V
- id: login
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ RUN set -ex && \
echo "✓" | tee /usr/local/nginx/html/index.html && \
# Diffie-Hellman
openssl dhparam -dsaparam -out /etc/nginx/dhparam.pem 4096 && \
# configure dynamic linker run-time bindings
ldconfig -v && \
# clean up
rm /etc/nginx/*.default && \
apt-get autoclean -yqq && \
Expand Down

0 comments on commit 79af9b7

Please sign in to comment.