Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Geoip-API deployment examples

This folder contains examples, how to deploy Geoip-API in different scenarios.

docker-compose.yaml

A very simple Docker-Compose example.

kubernetes-deployment.yaml

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.