plausible-hosting/geoip/docker-compose.geoip.yml
Avimanyu Bandyopadhyay ecd8f30104
Update docker-compose.geoip.yml
Without mounting the geoip volume, the countries will not show on the map inside the Plausible dashboard.
2020-10-24 03:07:38 +05:30

24 lines
463 B
YAML

version: "3.3"
services:
plausible:
depends_on:
- geoip
environment:
- GEOLITE2_COUNTRY_DB=/geoip/GeoLite2-Country.mmdb
volumes:
- geoip:/geoip:ro
geoip:
image: maxmindinc/geoipupdate
environment:
- GEOIPUPDATE_EDITION_IDS=GeoLite2-Country
- GEOIPUPDATE_FREQUENCY=168 # update every 7 days
env_file:
geoip/geoip.conf
volumes:
- geoip:/usr/share/GeoIP
volumes:
geoip:
driver: local