Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ eslint: ## Runs the eslint checks

.PHONY: qgis
qgis: ## Run QGIS desktop
xhost +local:docker
docker compose -f docker-compose.yaml -f docker-compose-qgis.yaml run --rm qgis

secrets.tar.bz2.gpg: env.secrets ## Encrypt the secrets for committing changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
# This file is used to run QGIS client from the Docker image

volumes:
qgis-home:

services:
qgis:
extends:
file: docker-compose-lib.yaml
service: qgisserver
image: camptocamp/qgis-server:${QGIS_VERSION}-desktop
user: root
user: ubuntu
volumes_from:
- config
volumes:
- ${HOME}:${HOME}
- qgis-home:/home/ubuntu
- /tmp/.X11-unix:/tmp/.X11-unix
- ./qgisserver:/qgisserver
devices:
- /dev/dri:/dev/dri
environment:
- HOME=/home/ubuntu
- PGSERVICEFILE=/etc/qgisserver/pg_service.conf
- DISPLAY=unix${DISPLAY}
- QGIS_DEBUG=0
- QGIS_LOG_FILE=/dev/null
- PGOPTIONS=-c statement_timeout=30000
- AZURE_STORAGE_CONNECTION_STRING
command: qgis

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not the default one?

Loading