23 lines
730 B
YAML
23 lines
730 B
YAML
---
|
|
|
|
version: "3.8"
|
|
|
|
volumes:
|
|
geoipupdate:
|
|
name: ${GEOIPUPDATE_VOLUME_NAME:-geoipupdate}
|
|
|
|
services:
|
|
geoipupdate:
|
|
image: ${GEOIPUPDATE_IMAGE:-maxmindinc/geoipupdate:v4.9.0}
|
|
container_name: ${GEOIPUPDATE_CONTAINER_NAME:-geoip-updater}
|
|
restart: always
|
|
volumes:
|
|
- geoipupdate:${GEOIPUPDATE_DB_DIR:-/usr/share/GeoIP}
|
|
environment:
|
|
GEOIPUPDATE_ACCOUNT_ID: ${GEOIPUPDATE_ACCOUNT_ID:?err}
|
|
GEOIPUPDATE_LICENSE_KEY: ${GEOIPUPDATE_LICENSE_KEY:?err}
|
|
GEOIPUPDATE_EDITION_IDS: ${GEOIPUPDATE_EDITION_IDS:-GeoLite2-City}
|
|
GEOIPUPDATE_FREQUENCY: ${GEOIP_SCHEDULE:-72}
|
|
GEOIPUPDATE_VERBOSE: ${GEOIPUPDATE_VERBOSE:-false}
|
|
GEOIPUPDATE_DB_DIR: ${GEOIPUPDATE_DB_DIR:-/usr/share/GeoIP}
|