25 lines
625 B
Plaintext
25 lines
625 B
Plaintext
|
# {{ 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
|