I have run a docker qgis server instance, everything works fine with shapefiles, but when I load layers to Qgis Desktop from PostGis installed in the host and also in a docker container, the getCapabilities are not showing the layers.
I am running an Ubuntu 20.04 LTS host and Qgis Coruña. The containers were created based on the configuration bellow:
Example QGIS Server docker compose
This file will run two QGIS Server instances
QGIS 2.18 LTR - on port 8080 publishing contents of /project
QGIS 3.0 - on port 8081 publishing contents of /project-qgis3
Please read the accompanying README for more details.
# multiple projects on this server an
# then add map=<path to project> to your GET
# requests
- QGIS_PROJECT_FILE=''
# 0 = highest level, shows all messages
# 5 = very quiet
- QGIS_SERVER_LOG_LEVEL=0
I have run a docker qgis server instance, everything works fine with shapefiles, but when I load layers to Qgis Desktop from PostGis installed in the host and also in a docker container, the getCapabilities are not showing the layers.
I am running an Ubuntu 20.04 LTS host and Qgis Coruña. The containers were created based on the configuration bellow:
Example QGIS Server docker compose
This file will run two QGIS Server instances
QGIS 2.18 LTR - on port 8080 publishing contents of /project
QGIS 3.0 - on port 8081 publishing contents of /project-qgis3
Please read the accompanying README for more details.
db: image: kartoza/postgis:9.6-2.4
volumes:
environment:
qgisserver3:
build : 3,0
image: kartoza/qgis-server:3.0.3 hostname: qgis-server environment:
set to '' if you plan on hosting
volumes: