25 lines
631 B
Django/Jinja
25 lines
631 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:
|
|
- geoipupdate
|
|
|
|
networks:
|
|
geoipupdate:
|
|
name: geoipupdate |