plausible-hosting/geoip/docker-compose.geoip.yml

25 lines
483 B
YAML
Raw Normal View History

2020-09-29 07:00:52 -05:00
version: "3.3"
services:
plausible:
depends_on:
- geoip
environment:
- GEOLITE2_COUNTRY_DB=/geoip/GeoLite2-Country.mmdb
volumes:
- geoip:/geoip:ro
2020-09-29 07:00:52 -05:00
geoip:
image: maxmindinc/geoipupdate
2021-08-22 06:50:33 -05:00
restart: always
2020-09-29 07:00:52 -05:00
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