mirror of
https://github.com/plausible/hosting.git
synced 2024-11-14 11:55:59 -06:00
25 lines
483 B
YAML
25 lines
483 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
|
|
restart: always
|
|
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
|