Initial commit

This commit is contained in:
Uku Taht
2020-09-29 15:00:52 +03:00
commit c0fcca12ac
5 changed files with 95 additions and 0 deletions

View File

@ -0,0 +1,25 @@
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

2
geoip/geoip.conf Normal file
View File

@ -0,0 +1,2 @@
GEOIPUPDATE_ACCOUNT_ID=<your-account-id>
GEOIPUPDATE_LICENSE_KEY=<your-license-key>