docker: restart geoip container on reboot

When no restart policy is provided, the container won't be automatically
be restarted on boot, unlike the other containers.

Fix #2110
This commit is contained in:
Vincent Bernat
2025-11-20 22:45:33 +01:00
parent 08b86db25d
commit 75922e6300
3 changed files with 6 additions and 0 deletions

View File

@@ -10,6 +10,10 @@ identified with a specific icon:
- 🩹: bug fix - 🩹: bug fix
- 🌱: miscellaneous change - 🌱: miscellaneous change
## Unreleased
- 🩹 *docker*: restart geoip container on boot
## 2.0.3 - 2025-11-19 ## 2.0.3 - 2025-11-19
This release contains some important fixes to prevent flow corruption under heavy load. This release contains some important fixes to prevent flow corruption under heavy load.

View File

@@ -4,6 +4,7 @@ services:
extends: extends:
file: versions.yml file: versions.yml
service: ipinfo-geoipupdate service: ipinfo-geoipupdate
restart: unless-stopped
environment: environment:
IPINFO_TOKEN: a2632ea59736c7 IPINFO_TOKEN: a2632ea59736c7
IPINFO_DATABASES: country asn IPINFO_DATABASES: country asn

View File

@@ -5,6 +5,7 @@ services:
extends: extends:
file: versions.yml file: versions.yml
service: maxmind-geoipupdate service: maxmind-geoipupdate
restart: unless-stopped
environment: environment:
GEOIPUPDATE_ACCOUNT_ID: GEOIPUPDATE_ACCOUNT_ID:
GEOIPUPDATE_LICENSE_KEY: GEOIPUPDATE_LICENSE_KEY: