This folder contains examples, how to deploy Geoip-API in different scenarios.
A very simple Docker-Compose example.
A simple Kubernetes deployment that creates a deployment and a service. Use the Ingress definition below to direct web traffic to your Geoip-API instance.
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: geoip
spec:
rules:
- host: geoip.YOURDOMAIN
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: geoip
port:
name: web
A more comprehensive example to supply geoip information to Nginx using a centralized Geoip-API webservice.