Created
June 12, 2018 06:17
-
-
Save timlinux/5487ba77908535612fde14447abfff2f to your computer and use it in GitHub Desktop.
Example docker compose for QGIS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3" | |
| services: | |
| qgisserver: | |
| image: kartoza/qgis-server:LTR | |
| hostname: qgis-server | |
| environment: | |
| - QGIS_PROJECT_FILE=/project/Swellendam.qgs | |
| volumes: | |
| # Wherever you want to mount your data from | |
| - ./:/project | |
| links: | |
| - db:db | |
| ports: | |
| - "8080:80" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment