52 North WPS Docker
This Docker provides a 52 North Web Processing Service instance with the GRASS and Sextante backends enabled. The Dockerfile and context can be found in this repository:
NOTE: There are several Dockerfiles in this repository. The 52 North Dockerfile is in the
There are two ways to install this Docker:
Pull image from Docker repository:
$ sudo docker pull ciwater/n52wps
Build from source:
$ git clone https://github.com/CI-WATER/tethys_docker.git $ cd tethys_docker/n52wps $ sudo docker build -t ciwater/n52wps .
Start the 52 North Docker container as follows:
$ sudo docker run --rm -it -p 8080:8080 ciwater/n52wps
OR in deamon mode with a name:
$ sudo docker run -d -p 8080:8080 --name n52wps ciwater/n52wps
Browse to http://localhost:8080/wps to see your instance of 52North WPS running.
NOTE: The above command will map the Docker's port 8080 to the host 8080. If your port 8080 is not available, modify the command to use a port that works for you.
See the Docker Documenation for more information about how to use Docker containers.
You may pass several environmental variables to set the service metadata and the admin username and password:
-e USERNAME=<ADMIN_USERNAME> -e PASSWORD=<ADMIN_PASSWORD> -e NAME=<INDIVIDUAL_NAME> -e POSITION=<POSITION_NAME> -e PHONE=<VOICE> -e FAX=<FACSIMILE> -e ADDRESS=<DELIVERY_POINT> -e CITY=<CITY> -e STATE=<ADMINISTRATIVE_AREA> -e POSTAL_CODE=<POSTAL_CODE> -e COUNTRY=<COUNTRY> -e EMAIL=<ELECTRONIC_MAIL_ADDRESS>
$ sudo docker run -d -p 8080:8080 -e USERNAME="foo" -e PASSWORD="bar" --name n52wps ciwater/n52wps
The default values that ship with 52North will be used if these variables are not set. It is highly recommended that you change the admin username and password for production installations.