0
0
opnxng-deploy-playbook/templates/compose/geoipupdate.yaml.j2

24 lines
616 B
Django/Jinja

# {{ ansible_managed }}
services:
geoipupdate:
container_name: geoipupdate
image: ghcr.io/maxmind/geoipupdate
restart: unless-stopped
security_opt:
- no-new-privileges
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Singapore
- GEOIPUPDATE_ACCOUNT_ID={{ geoipupdate_account_id }}
- GEOIPUPDATE_LICENSE_KEY={{ geoipupdate_license_key }}
- GEOIPUPDATE_EDITION_IDS=GeoLite2-City
- GEOIPUPDATE_FREQUENCY=72
volumes:
- {{ docker_dir }}/caddy/:/usr/share/GeoIP/
networks:
- geoipupdate
networks:
geoipupdate:
name: geoipupdate