Remove need for geoip database
Apparently partial functionality is built-in to the container now
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user