/docker-lizmap

docker lizmap

Primary LanguageShellGNU Affero General Public License v3.0AGPL-3.0

docker-lizmap

docker_lizmap


LizMap est une solution complète de publication de cartes QGIS sur Internet.

LizMap is a complete Internet QGIS map publishing.


Build image

  • To build lizmap with Docker on a PC,server
docker build -t "lizmap" https://github.com/jancelin/docker-lizmap.git#3.1.1-0.1:/ -f Dockerfile
  • To build lizmap with Docker on a Raspberry Pi
docker build -t "lizmap" https://github.com/jancelin/docker-lizmap.git#3.1.1-0.1:/ -f Dockerfile.raspberry

Or Pull from DockerHub

  • PC
docker pull jancelin/docker-lizmap:3.1.1-0.1
  • Raspberry
docker pull jancelin/geopoppy:lizmap-3.1.1

With Docker-compose

  • Create folders for persistent data and config
mkdir /home/lizmap/lizmap_var
mkdir /home/lizmap/lizmap_project
mkdir /home/lizmap/tmp
chown :www-data -R /home/lizmap
  • Create a docker-compose.yml for PC or Raspberry Pi

https://github.com/jancelin/docker-lizmap/blob/3.1.1-0.1/docker-compose.yml

  • UP
docker-compose up -d
  • Now config lizmap on web :
http://ip/websig/lizmap/www/admin.php
  • change URL WMS:

http://qgiserver/cgi-bin/qgis_mapserv.fcgi

  • Add /home/ for looking your geo projects

config


Lizmap working with your data and config at :

http://"your_ip_rpi_wifi_serveur"

exemple for me: http://172.24.1.1

or

http://"your_ip_rpi_wifi_serveur"/websig/lizmap/www/

lizmap admin at

http://"your_ip_rpi_wifi_serveur"/websig/lizmap/www/admin.php

Use https for the location


Lizmap Web Application generates dynamically a web map application (php/html/css/js) with the help of Qgis Server ( QGIS Server Tutorial ). You can configure one web map per Qgis project with the QGIS LizMap Plugin.

http://docs.3liz.com/

http://www.3liz.com/


Julien ANCELIN ( julien.ancelin@inra.fr) 2017

Licence Creative Commons