Skip to content

Dockerfiles for base centos, ags, portal, and postgres containers

License

Notifications You must be signed in to change notification settings

lobsteropteryx/docker-esri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-esri

Dockerfiles for base centos, ags, portal, and postgres containers. Draws heavily from the work of Mansour and many others in the Docker community.

Requirements

Setup

The AGS, Portal, and PostGRES images are built off of a base CENTOS image, with a few extra dependencies. On Windows or OSX machines, these images will run on top of a virtual machine running linux.

Virtual Machine

  • On Windows or OSX, your containers will run inside a virtual machine. To set this up the first time, run create-machine.sh
  • Run docker-machine start arcgis
  • Run docker-machine env arcgis --shell bash (or cmd, or powershell)
  • Run the output of the above command, i.e.,
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.100:2376"
export DOCKER_CERT_PATH="C:\Users\<username>\.docker\machine\machines\arcgis"
export DOCKER_MACHINE_NAME="arcgis"

Base Image

Run base/build-image.sh

AGS Image

  • Copy your AGS installer (i.e. ArcGIS_for_Server_Linux_1041_151978.tar.gz) to a local directory that you can use as the root of a webserver
  • Spin up a webserver pointed at the above directory Copy your provisioning file to ags/ (i.e. EDN_AGSADVENT_Portal_20161010.prvc)
  • Edit the ags/build-image.sh script to point to your provisioning file and local webserver
  • Run ags/build-image.sh
  • Run ags/run.sh
  • In your browser, navigate to the AGS manager on the VM ip address, i.e. https://192.168.99.100:6443/arcgis/manager/

Portal Image

  • Copy your Portal installer and provisioning file to portal/ (i.e. Portal_for_ArcGIS_Linux_1041_151999.tar.gz and EDN_AGSADVENT_Portal_20161010.prvc)
  • Change the registration email in ags/Dockerfile to the appropriate email
  • Important: There is a bug in the automatic installer, where it only reads a single entry from the provisioning file. Open your .prvc file, and ensure that the first entry is for portal, i.e. Portal for ArcGIS=ECP123456789
  • Run portal/build-image.sh
  • Run portal/run.sh
  • In your browser, navigate to the Portal admin on the VM ip address, i.e. https://192.168.99.100:7443/arcgis/home
  • Important: It takes the Portal instance some time (~30 seconds) before it will begin accepting connections, even once the container is spun up.

About

Dockerfiles for base centos, ags, portal, and postgres containers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages