2023-11-06 10:39:27 +08:00
|
|
|
# {{ 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:
|
2023-11-10 05:28:42 +08:00
|
|
|
- geoipupdate
|
|
|
|
|
2023-11-06 10:39:27 +08:00
|
|
|
networks:
|
2023-11-10 05:28:42 +08:00
|
|
|
geoipupdate:
|
2024-10-05 11:47:43 +08:00
|
|
|
name: geoipupdate
|