mirror of
https://github.com/skidoodle/ipinfo.git
synced 2025-02-15 08:29:17 +01:00
maxmind
This commit is contained in:
parent
9240ecbf98
commit
0d760f38ae
8 changed files with 394 additions and 431 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue