GOST docker installation

For getting GOST to work in Docker there are three images available on Docker Hub
  • geodan/gost: image containing the GOST server
  • geodan/gost-db image containing the PostGIS database
  • geodan/gost-dashboard Image containing NGINX and the GOST dashboard

  • For more information about the containers check the projects on GitHub: - server - gost-db - gost-dashboard
    The docker images can run separately, or running in a combined way using the docker-compose.yml file.


    Verify that Docker is installed with command 'docker info'. This command should display system-wide Docker information. If this is not the case please install Docker engine, procedure for every platform can be found here. When using docker-compose be sure that docker-compose is installed as well. Run command 'docker-compose -- version', version should be 1.10 or greater. Installation instructions for docker-compose can be found here.

    Running GOST with Docker-compose

    The default docker-compose file comes with a MQTT server (Mosquitto) and Node-RED.

    Use the tag latest for the latest development version, otherwise use a tag like '0.5' for more stable versions.

    Running (unstable) latest build of GOST

    			$ wget https://raw.githubusercontent.com/gost/docker-compose/master/docker-compose.yml 
    			$ docker-compose up

    Running (stable) 0.5 build of GOST

    			$ wget https://raw.githubusercontent.com/gost/docker-compose/master/docker-compose-0.5.yml 
    			$ docker-compose -f docker-compose-0.5.yml up

    Running GOST with docker run

    1) Start geodan/gost-db which creates an user postgres with password postgres and initialises a database named gost
    2) Start geodan/gost and set info to connect to gost-db, gost will be available at http://localhost:8080/v1.0
    3) Start geodan/gost-dashboard and link gost to use GOST trough nginx, gost + dashboard available at http://localhost:8081

    			$ docker run -d -p 5432:5432 -e POSTGRES_DB=gost -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres --name gost-db geodan/gost-db:0.5
    $ docker run -d -p 8080:8080 --link gost-db:gost-db -e GOST_DB_HOST=gost-db -e GOST_DB_USER=postgres -e GOST_DB_PASSWORD=postgres --name gost geodan/gost:0.5
    $ docker run -d -p 8081:8080 --link gost:gost --name gost-dashboard geodan/gost-dashboard:0.5

    For making connection to external database use environmental variables GOST_DB_HOST, GOST_DB_PORT, GOST_DB_USER, GOST_DB_PASSWORD.

    			$ docker run -d -p 8080:8080 -t -e GOST_DB_HOST= -e GOST_DB_DATABASE=gost --name gost geodan/gost:0.5


    Since 1985, Geodan has grown into one of the leading geo-ICT companies in our country. We specialise in the provision of spatial information and are experienced in applying new, innovative technologies

    Our Bunker

    President Kennedylaan 1
    1079 MB Amsterdam