Opensouce API to run IP lookups for City, ASN, and Country
- Edit your
.envfile to meet prod specs - Run
docker-compose up --build(or preferably prebuild and push images to your registry) - Sign in with your default user at your hostname at
https://<IP>:8443/admin - Go to
https://<IP>:8443/apito read the swagger docs - Go to
https://<IP>:8443/api/?format=openapito fetch the OpenAPI schema (This can be imported to Postman)
Here is how to run in production with docker-compose. However I personally would put this in kubernetes for prod
- Edit your
.envfile to meet prod specs - Run
docker-compose up --build(or preferably prebuild and push images to your registry) - Point your reverse proxy to
https://<IP>:8443 - Sign in with your default user at your hostname at
https://<your host>/admin - Go to
https://<your host>/apito read the swagger docs - Go to
https://<your host>/api/?format=openapito fetch the OpenAPI schema (This can be imported to Postman)
BASE: /api/v1
OpenAPI JSON
Swagger

POST /auth/login/
POST /auth/logout/
POST /auth/logoutall/
POST /auth/refresh/
GET /geo/sync
POST /geo/sync
GET /geo/sync/{request_uuid}
DELETE /geo/sync/{request_uuid}
GET /lookup/
POST /lookup/create
GET /lookup/list
GET /lookup/{request_uuid}/
DELETE /lookup/{request_uuid}/
GET /lookup/{request_uuid}/results