For getting GOST to work in Docker there are three images available on Docker Hub:
- geodan/gost containing the GOST server;
- geodan/gost-db containing a configured PostGIS database;
- geodan/gost-dashboard containing nginx and the GOST dashboard.
For more information about the containers check the projects on Github: geodan/gosts - geodan/gost-db - geodan/gost-dashboard
The docker images can run separately, or running in a combined way using the Docker-compose file.
The docker-compose files come with a MQTT server (Mosquitto) and Node-RED.
Architecture:
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
or on Raspberry Pi (experimental):
$ wget https://raw.githubusercontent.com/gost/docker-compose/master/docker-compose-rpi.yml
$ sudo docker-compose -f docker-compose-rpi.yml up
For a complete tutorial about installing GOST on Raspberry Pi see https://github.com/gost/docs/blob/master/gost_raspberrypi.md
The data of the PostGIS is stored on a Docker volume. If you want to remove the data use commands like:
$ docker-compose down -v
