[Qgis-user] Building Qgis Server only

Henrik Uggla Henrik.Uggla at kristianstad.se
Tue Nov 26 02:28:38 PST 2019


Hi!

I managed to create a Docker container with Qgis Server on Alpine:
https://hub.docker.com/repository/docker/huggla/qgisserver-alpine

Feedback is welcome.

Regards
HU

________________________________________
Från: Qgis-user <qgis-user-bounces at lists.osgeo.org> för Henrik Uggla <Henrik.Uggla at kristianstad.se>
Skickat: den 7 januari 2019 12:47:21
Till: Andreas Neumann
Kopia: qgis-user at lists.osgeo.org
Ämne: Re: [Qgis-user] Building Qgis Server only

Thank you very much!

________________________________________
Från: Andreas Neumann <a.neumann at carto.net>
Skickat: den 7 januari 2019 12:44:18
Till: Henrik Uggla
Kopia: qgis-user at lists.osgeo.org
Ämne: Re: SV: [Qgis-user] Building Qgis Server only

Hi Henrik,

Here are my cmake parameters (for version 3.4.x):

cmake /build/QGIS -GNinja -DWITH_STAGED_PLUGINS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DWITH_GRASS=OFF -DWITH_GRASS7=OFF -DSUPPRESS_QT_WARNINGS=ON -DENABLE_TESTS=OFF -DWITH_QSPATIALITE=OFF -DWITH_QWTPOLAR=OFF -DWITH_APIDOC=OFF -DWITH_ASTYLE=OFF -DWITH_DESKTOP=OFF -DWITH_SERVER=ON -DWITH_SERVER_PLUGINS=ON -DWITH_BINDINGS=ON -DWITH_QTMOBILITY=OFF -DWITH_QUICK=OFF -DWITH_3D=OFF -DWITH_GUI=OFF -DDISABLE_DEPRECATED=ON -DSERVER_SKIP_ECW=ON -DWITH_GEOREFERENCER=OFF

Greetings,

Andreas

On 2019-01-07 12:34, Henrik Uggla wrote:

I'm not able to find how to build Qgis Server without desktop anywhere in the documentation (https://github.com/qgis/QGIS/blob/master/INSTALL). How is it done?
________________________________________
Från: Andreas Neumann <a.neumann at carto.net<mailto:a.neumann at carto.net>>
Skickat: den 7 januari 2019 11:26:30
Till: Henrik Uggla
Kopia: qgis-user at lists.osgeo.org<mailto:qgis-user at lists.osgeo.org>
Ämne: Re: [Qgis-user] Building Qgis Server only

Hi Henrik,

You can now build QGIS Server without desktop, but not without X. You still need X for PDF generation (GetPrint command).

If you are interested, I have docker configurations for QGIS Server 2.x. and 3.x based on Ubuntu and NginX server. Still struggling a bit with NGinX URL forwarding, but hoping to solve it tomorrow with the help of Marco B.

I could share the configuration, if it helps for you.

Greetings,

Andreas

On 2019-01-07 11:01, Henrik Uggla wrote:

I would like to create a Qgis Server Docker container based on Alpine. Is it possible to build Qgis Server, without the desktop applications, on a server that doesn't run X?
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org><mailto:Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org>>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user




_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


More information about the Qgis-user mailing list