feat: make geoipupdate container opt-in via COMPOSE_PROFILES
This commit is contained in:
@@ -137,6 +137,8 @@ OAUTH_ALLOW_AUTO_LINKING=false # Auto-link OAuth to accounts without pas
|
||||
# =============================================================================
|
||||
|
||||
# GeoIP Update (Optional - for geoblocking support)
|
||||
# To enable the geoipupdate container, set COMPOSE_PROFILES=geoipupdate
|
||||
# Get credentials at: https://www.maxmind.com/en/geolite2/signup
|
||||
COMPOSE_PROFILES=
|
||||
GEOIPUPDATE_ACCOUNT_ID=
|
||||
GEOIPUPDATE_LICENSE_KEY=
|
||||
|
||||
@@ -106,6 +106,7 @@ services:
|
||||
geoipupdate:
|
||||
container_name: geoipupdate-${HOSTNAME}
|
||||
image: ghcr.io/maxmind/geoipupdate
|
||||
profiles: [geoipupdate]
|
||||
restart: always
|
||||
environment:
|
||||
- GEOIPUPDATE_ACCOUNT_ID=${GEOIPUPDATE_ACCOUNT_ID:-}
|
||||
|
||||
Reference in New Issue
Block a user