Skip to content

Commit

Permalink
add geoip via maxmind (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
antedebaas authored Nov 19, 2024
1 parent 9d66d9b commit ca82efa
Show file tree
Hide file tree
Showing 17 changed files with 570 additions and 21 deletions.
4 changes: 3 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ MAILBOX2_ENABLED="false"
MAILBOX2_CONNECTION=
MAILBOX2_USERNAME=
MAILBOX2_PASSWORD=
MAILBOX2_PATH="INBOX"
MAILBOX2_PATH="INBOX"

MAXMIND_LICENCE=
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ ENV PUSHOVER_API_KEY=
ENV PUSHOVER_USER_KEY=
ENV DELETE_PROCESSED_MAILS=false
ENV ENABLE_REGISTRATION=true
ENV MAXMIND_LICENCE=
ENV MAILCHECK_SCHEDULE="0 * * * *"
ENV TZ=UTC

Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"doctrine/doctrine-bundle": "^2.12",
"doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^3.1",
"gpslab/geoip2": "^2.1",
"secit-pl/imap-bundle": "^3.1",
"serhiy/pushover": "*",
"symfony/apache-pack": "^1.0",
Expand Down Expand Up @@ -71,7 +72,8 @@
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd"
"assets:install %PUBLIC_DIR%": "symfony-cmd",
"geoip2:update": "symfony-cmd"
},
"post-install-cmd": [
"@auto-scripts"
Expand Down
Loading

0 comments on commit ca82efa

Please sign in to comment.