Remove need for geoip database

Apparently partial functionality is built-in to the container now
This commit is contained in:
Jake Howard 2021-04-15 18:21:18 +01:00
parent a25c0751fb
commit 5dc3db5dce
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 0 additions and 28 deletions

View file

@ -8,9 +8,6 @@ services:
depends_on:
- db
- clickhouse
- geoip
volumes:
- ./geoip:/mnt/geoip:ro
labels:
- traefik.enable=true
- traefik.http.routers.plausible.rule=Host(`plausible.theorangeone.net`)
@ -35,7 +32,6 @@ services:
- DISABLE_SUBSCRIPTION=true
- CLICKHOUSE_DATABASE_URL=http://clickhouse:8123/plausible
- BASE_URL=https://elbisualp.theorangeone.net
- GEOLITE2_COUNTRY_DB=/mnt/geoip/GeoLite2-Country.mmdb
clickhouse:
image: yandex/clickhouse-server:21-alpine
@ -59,13 +55,3 @@ services:
environment:
- POSTGRES_PASSWORD=plausible
- POSTGRES_USER=plausible
geoip:
image: maxmindinc/geoipupdate:latest
environment:
- GEOIPUPDATE_FREQUENCY=168
- GEOIPUPDATE_EDITION_IDS=GeoLite2-Country
- GEOIPUPDATE_ACCOUNT_ID={{ geoip_account_id }}
- GEOIPUPDATE_LICENSE_KEY={{ geoip_license_key }}
volumes:
- ./geoip:/usr/share/GeoIP

View file

@ -19,17 +19,3 @@ signing_salt: !vault |
3763326533373266620a376230613664633332663065393561656565653634366130323534633865
35336236653664373131343364373637653261303030663239333534653432386438343162393866
3563353137633338623239346538643662393537313932386366
geoip_account_id: !vault |
$ANSIBLE_VAULT;1.1;AES256
64376562666666383033373334653261636565343366663131656438313538666331313839326439
6163343962323965383334303535643364373165356632630a353234306238373165363064363661
64626466356135623438376462313139656532363331386166353937303762353139663833653765
3733666162356363620a323936663362326530353964343466386263636332326538363238313062
3363
geoip_license_key: !vault |
$ANSIBLE_VAULT;1.1;AES256
37653531376537336537353736323833346535386333633562336237643136306165613861373861
3334656335356637396563323932346436316564326264340a313363646536396164366231663030
65383331353864313732646133323966663161346664376461646466613961663136356432396235
6639626230313461390a666530343730626263333430323866393466643330613432363366393737
64373531663563303465636232663131633232306539366533363333303933646462