This is a pre-configured, ready-to-run PostgreSQL with IP2Location Geolocation database setup scripts
based on ip2location/docker-ip2location-postgresql image.
Steps and variables are the same as for the original image.
You can download the database file once in ZIP format and use it at the start of the container
to prevent re-downloading and exceeding the download limit.
Or you can pass the host directory as volume to container where downloaded zip file with database will be saved
and can be used for container run from scratch.
NOTICE: Container volume must be
version: '2' services: ip2location: restart: always image: scorg/ip2location volumes: - ./data:/ip2location