---
title: "Deploy MaxMind GeoIP"
description: "IP geolocation service powered by MaxMind's GeoLite2 database"
category: "Other"
url: https://railway.com/deploy/y3QoLi
---

# Deploy MaxMind GeoIP

IP geolocation service powered by MaxMind's GeoLite2 database

**[Deploy MaxMind GeoIP on Railway](https://railway.com/template/y3QoLi)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/y3QoLi/manifest.json

- **Creator:** Dango
- **Category:** Other

## Template content

### MaxMind GeoIP https://api.nuget.org/v3-flatcontainer/maxmind.db/4.1.0/icon

- **Source:** dangos-dev/GeoIP
- **Public domain:** Yes

## Documentation

A high-performance IP geolocation service powered by MaxMind's GeoLite2 database, built with Rust and Axum.

## Features

- 🌍 IP Geolocation Lookups
- ⚡ Async Architecture
- 🔄 Automatic Weekly Database Updates
- 📦 Self-Contained Database Management
- 🔒 Graceful Shutdown Handling
- 📈 Built-in Logging

## Configuration
Required environment variables:

- ACCOUNT_ID: MaxMind account ID
- LICENSE_KEY: MaxMind license key

## API Endpoints
- GET /: Service status check
- GET /{ip}: Lookup any IPv4/IPv6 address
- GET /me: Lookup your own IP (TODO)
- POST /database: Trigger manual database update (TODO)

## Scheduled Updates
Automatic weekly updates occur every Sunday at 00:00 UTC. Manual updates can be triggered via the API.

## Learn more
Check [dangos-dev/GeoIP](https://github.com/dangos-dev/GeoIP) repo.

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/y3QoLi
