This commit is contained in:
skidoodle 2024-09-07 03:21:10 +02:00
parent 9240ecbf98
commit 0d760f38ae
8 changed files with 394 additions and 431 deletions

View file

@ -1,4 +1,4 @@
version: '3.8'
version: '3.9'
services:
ipinfo:
@ -7,3 +7,14 @@ services:
restart: unless-stopped
ports:
- "3000:3000"
environment:
GEOIPUPDATE_ACCOUNT_ID: ${GEOIPUPDATE_ACCOUNT_ID}
GEOIPUPDATE_LICENSE_KEY: ${GEOIPUPDATE_LICENSE_KEY}
GEOIPUPDATE_EDITION_IDS: "GeoLite2-City GeoLite2-ASN"
GEOIPUPDATE_DB_DIR: /app
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s