21 lines
721 B
YAML
21 lines
721 B
YAML
---
|
|
|
|
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: ${GEOIPUPDATE_FREQUENCY:-72}
|
|
GEOIPUPDATE_VERBOSE: ${GEOIPUPDATE_VERBOSE:-false}
|
|
GEOIPUPDATE_DB_DIR: ${GEOIPUPDATE_DB_DIR:-/usr/share/GeoIP}
|