https://github.com/fo0/geolocation-service
https://github.com/fo0/geolocation-service
docker geolocation spring spring-boot
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fo0/geolocation-service
- Owner: fo0
- License: apache-2.0
- Created: 2022-08-24T15:36:22.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2026-05-03T00:44:46.000Z (about 2 months ago)
- Last Synced: 2026-05-03T02:30:21.451Z (about 2 months ago)
- Topics: docker, geolocation, spring, spring-boot
- Language: Java
- Homepage:
- Size: 661 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# geolocation-service
Spring Rest Service based on MaxMind & GH Repo https://github.com/geoacumen/geoacumen-country
# Updates?
Every Sunday, check [CI/CD](https://github.com/fo0/geolocation-service/blob/master/.github/workflows/update_db.yml)
# Example
```bash
# simple
curl -X GET localhost:8080/?ip=8.8.8.8
# or with details
curl -X GET localhost:8080/details?ip=8.8.8.8
```
# docker-compose
```yml
version: "3"
services:
geolocation-service:
image: ghcr.io/fo0/geolocation-service
environment:
SPRING_APPLICATION_NAME: geolocation
SERVER_PORT: 8080
MAXMIND_GEOIP_DATABASE: classpath:Geoacumen-Country.mmdb
LOGGING_LEVEL_ME_FO0: ERROR
ports:
- "8080:8080"
expose:
- "8080"
```