Files
akvorado/docker/docker-compose-maxmind.yml
Vincent Bernat 75922e6300 docker: restart geoip container on reboot
When no restart policy is provided, the container won't be automatically
be restarted on boot, unlike the other containers.

Fix #2110
2025-11-20 22:45:33 +01:00

16 lines
432 B
YAML

---
services:
geoip:
# Put GEOIPUPDATE_ACCOUNT_ID and GEOIPUPDATE_LICENSE_KEY values in `.env` file.
extends:
file: versions.yml
service: maxmind-geoipupdate
restart: unless-stopped
environment:
GEOIPUPDATE_ACCOUNT_ID:
GEOIPUPDATE_LICENSE_KEY:
GEOIPUPDATE_EDITION_IDS: GeoLite2-ASN GeoLite2-Country
GEOIPUPDATE_FREQUENCY: 48
volumes:
- akvorado-geoip:/usr/share/GeoIP