This project allows a 2 minute deployment of a modern spatial data infrastructure based on QGIS server, PostGis DB and Caddy webserver.
It comes with Docker-compose and Docker swarm examples. it listens by default to https://localhost
and uses autogenerated certificates.
If you want to publish it to a domain, you can modify the Caddyfile by changing localhost
to your domain and by deleting the local_certs
line
Start with: docker-compose up -d
Destroy with: docker-compose down
/
Publishes whatewer is found in thewww
folder/ows/
Exposes the OGC services of QGIS server/wfs3/
Exposes the OGCAPIF (not completely working)
The included demo project can be found at https://localhost/ows/bees
it exposes WMS, WMTS and WFS.
To publish a project, add it to the .qgs file (not .qgz) /data/projects/
folder. The project will automatically be available at https://localhost/ows/projectname
The included PostGIS DB has a database called gis
, listens on port 5432
and the user and password are docker
. Obviously this in not production-ready!