0
0
opnxng-deploy-playbook/templates/compose/geoipupdate.yaml.j2
2023-11-06 10:39:27 +08:00

25 lines
625 B
Django/Jinja

# {{ ansible_managed }}
version: '3.7'
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:
- IPv4
networks:
IPv4:
external:
name: IPv4