Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxhelias/docker-my-gis
:whale: Docker Boilerplate for WebGIS
https://github.com/maxhelias/docker-my-gis
docker docker-compose docker-engine gis mapserver webgis
Last synced: 2 months ago
JSON representation
:whale: Docker Boilerplate for WebGIS
- Host: GitHub
- URL: https://github.com/maxhelias/docker-my-gis
- Owner: maxhelias
- License: mit
- Created: 2017-08-25T23:36:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-10-19T07:44:39.000Z (about 2 years ago)
- Last Synced: 2024-01-29T11:24:16.204Z (12 months ago)
- Topics: docker, docker-compose, docker-engine, gis, mapserver, webgis
- Language: Shell
- Homepage:
- Size: 5.01 MB
- Stars: 9
- Watchers: 2
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# A Docker for your WebGIS application [![Build Status](https://travis-ci.org/maxhelias/docker-my-gis.svg?branch=master)](https://travis-ci.org/maxhelias/docker-my-gis) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/maxhelias/docker-my-gis/blob/master/LICENSE)
This repository allows the creation of a Docker environment that meets WebGIS requirements.
## Architecture
| Containers | Original | Override |
| ------------------- | :-----------------------------------------------------------------------: | -----------------------------------------------------------------------------------------------: |
| `workspace` | [phusion/baseimage:latest](https://hub.docker.com/r/phusion/baseimage/) | [Dockerfile](https://github.com/maxhelias/docker-my-gis/blob/master/etc/workspace/Dockerfile-56) |
| `php` 5.6 | [php:5.6.31-fpm](https://hub.docker.com/_/php/) | [Dockerfile](https://github.com/maxhelias/docker-my-gis/blob/master/etc/php/Dockerfile-56) |
| `nginx` | [nginx:alpine](https://hub.docker.com/_/nginx/) | [Dockerfile](https://github.com/maxhelias/docker-my-gis/blob/master/etc/nginx/Dockerfile) |
| `db` 9.5 | [mdillon/postgis:9.5-alpine](https://hub.docker.com/r/mdillon/postgis/) | [Dockerfile](https://github.com/maxhelias/docker-my-gis/blob/master/etc/db/Dockerfile) |
| `mapserver` 6.4.1 | [debian:jessie](https://hub.docker.com/_/debian/) | [Dockerfile](https://github.com/maxhelias/docker-my-gis/blob/master/etc/mapserver/Dockerfile) |
| `redis` | [redis:latest](https://hub.docker.com/_/redis/) | [Dockerfile](https://github.com/maxhelias/docker-my-gis/blob/master/etc/redis/Dockerfile) |
| `rabbitmq` | [rabbitmq](https://hub.docker.com/_/rabbitmq/) | [Dockerfile](https://github.com/maxhelias/docker-my-gis/blob/master/etc/rabbitmq/Dockerfile) |
|`elasticsearch` 5.6.3| [elasticsearch:5.6.3](https://www.docker.elastic.co/#elasticsearch-5-6-3) | [Dockerfile](https://github.com/maxhelias/docker-my-gis/blob/master/etc/elasticsearch/Dockerfile)|
| `kibana` 5.6.3 | [kibana:5.6.3](https://www.docker.elastic.co/#kibana-5-6-3) | [Dockerfile](https://github.com/maxhelias/docker-my-gis/blob/master/etc/kibana/Dockerfile) |
| `logstash` 5.6.3 | [logstash:5.6.3](https://www.docker.elastic.co/#logstash-5-6-3) | [Dockerfile](https://github.com/maxhelias/docker-my-gis/blob/master/etc/logstash/Dockerfile) |
| `maildev` | [djfarrelly/maildev:latest](https://hub.docker.com/r/djfarrelly/maildev/) | [Dockerfile](https://github.com/maxhelias/docker-my-gis/blob/master/etc/maildev/Dockerfile) |
| `blackfire` | [blackfire/blackfire](https://hub.docker.com/r/blackfire/blackfire/) | [Dockerfile](https://github.com/blackfireio/docker/blob/master/Dockerfile) |_All containers are in the **./etc/** folder_
## Additional Features
Since this environment is designed for a local usage, it comes with features helping the development workflow.## Installation
This process assumes that [Docker Engine](https://www.docker.com/docker-engine) and [Docker Compose](https://docs.docker.com/compose/) are installed.
Otherwise, you should have a look to [Install Docker Engine](https://docs.docker.com/engine/installation/) before proceeding further.### Clone the repository
```bash
$ git clone https://github.com/maxhelias/docker-my-gis.git
```### Define the environment variables
```bash
$ cp env-example .env
```### Run your containers
```bash
$ docker-compose up -d
```_You can specify some container to run by adding their current name to the docker-compose.yml file_
### Open your browser and visit localhost
* `http://localhost` for access to your application
OR
* `http://localhost/mapserver/` for access to your MapServer instance```bash
That's it! Enjoy :)
```You will then be able to access the following sample MapServer URLs :
*
*
*
*
*
*
*## By default
* The application folder mounted on the workspace instance is **./usr/www/**. It can be defined in the configuration file with the variable **APPLICATION**
* The sites available folder mounted on the Nginx instance is **./etc/nginx/sites/**. It can be defined in the configuration file with the variable **NGINX_SITES_PATH**
* The data folder mounted on the MapServer instance is **./usr/geo/mapserver/**. It can be defined in the configuration file with the variable **MAPSERVER_DATA**
* Also, you can define any variable in the configuration file to adapt it to your needs