plausible/geoip/docker-compose.geoip.yml
2020-10-01 11:13:13 +03:00

26 lines
480 B
YAML

version: "3.3"
services:
plausible:
depends_on:
- geoip
links:
- geoip
environment:
- GEOLITE2_COUNTRY_DB=/geoip/GeoLite2-Country.mmdb
geoip:
image: maxmindinc/geoipupdate
ports:
- 1080:1080
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