Last active 10 months ago

The GeoIP Update program performs automatic updates of GeoIP2 and GeoLite2 binary databases. CSV databases are not supported.

emanuelegori revised this gist 10 months ago. Go to revision

No changes

emanuelegori revised this gist 10 months ago. Go to revision

1 file changed, 3 insertions, 3 deletions

docker-compose.yml

@@ -10,10 +10,10 @@ services:
10 10 - GEOIPUPDATE_FREQUENCY=72
11 11 - GEOIPUPDATE_VERBOSE=1
12 12 networks:
13 - - geoipupdate
13 + - npm-network
14 14 volumes:
15 15 - ./geoipupdate:/usr/share/GeoIP'
16 16
17 17 networks:
18 - geoipupdate:
19 - name: geoipupdate
18 + npm-network:
19 + name: npm-network

emanuelegori revised this gist 10 months ago. Go to revision

1 file changed, 19 insertions

docker-compose.yml(file created)

@@ -0,0 +1,19 @@
1 + services:
2 + geoipupdate:
3 + container_name: geoipupdate
4 + image: ghcr.io/maxmind/geoipupdate
5 + restart: unless-stopped
6 + environment:
7 + - GEOIPUPDATE_ACCOUNT_ID=XXXXXX
8 + - GEOIPUPDATE_LICENSE_KEY=XXXXXXXXXXXXXXXX
9 + - 'GEOIPUPDATE_EDITION_IDS=GeoLite2-Country'
10 + - GEOIPUPDATE_FREQUENCY=72
11 + - GEOIPUPDATE_VERBOSE=1
12 + networks:
13 + - geoipupdate
14 + volumes:
15 + - ./geoipupdate:/usr/share/GeoIP'
16 +
17 + networks:
18 + geoipupdate:
19 + name: geoipupdate
Newer Older