Deploy via Docker container - geotax_sdk - 2.2

GeoTAX SDK Developer Guide

Product type
Software
Portfolio
Locate
Product family
Geo Addressing
Product
GeoTAX SDK
Version
2.2
ft:locale
en-US
Product name
GeoTAX SDK
ft:title
GeoTAX SDK Developer Guide
Copyright
2024
First publish date
2023
ft:lastEdition
2024-08-30
ft:lastPublication
2024-08-30T02:47:25.239000

This topic describes how to prepare the GeoTAX SDK deployment for docker.

  1. To prepare deployment for Docker, first create a compose directory and within it the data and geotax/gtx directories:
    Initial sample directories
  2. Add the sample docker-compose.yml file to the compose directory and the Dockerfile file to the geotax directory:
    Folders containing docker-compose.yml and Dockerfile files.
    For the contents of the sample docker-compose.yml and Dockerfile files, see Docker sample files.
  3. Download the geotax-dist-version.zip distribution file (where version is the product version).
  4. Extract data resource folders into the data directory.
  5. Extract the geotax-dist-version distribution resource directories and files into the gtx directory:
  6. Execute the following commands to build the container:
    cd `compose/geotax`
    docker build -t geotax-service
    docker tag geotax-service:latest geotax-service:staging
  7. Execute the following commands to deploy the container:
    Execute the following commands to deploy the container:
    cd `compose`
    docker compose up
    Note: For this example to work, you must extract data into the compose/data directory before running the docker compose up command.