From b994990778d6fbfaecbcb1d204e20e199f49b9cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Mon, 7 Jan 2019 12:16:21 +0100 Subject: [PATCH] Update README [skip ci] --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 284d77c..b4803d7 100644 --- a/README.md +++ b/README.md @@ -14,26 +14,26 @@ A sample Nginx configuration for using it as a *FastCGI* backend is also [provid ### Available tags -- `openquake/qgis-server:latest` | `openquake/qgis-server:3` | `openquake/qgis-server:3.4` | `openquake/qgis-server:3.4.1`| `openquake/qgis-server:3.4.2`: Based on latest **QGIS 3.4** +- `openquake/qgis-server:latest` | `openquake/qgis-server:3` | `openquake/qgis-server:3.4` | `openquake/qgis-server:3.4.1` | `openquake/qgis-server:3.4.2` | `openquake/qgis-server:3.4.3`: Based on latest **QGIS 3.4** - `openquake/qgis-server:3.2` | `openquake/qgis-server:3.2.3`: Based on **QGIS 3.2** Example: ```bash -$ docker pull openquake/qgis-server:3.4.2 +$ docker pull openquake/qgis-server:3.4 ``` ### Build the container ```bash -$ docker build --rm=true -t openquake/qgis-server:3.4.2 -f Dockerfile . +$ docker build --rm=true -t openquake/qgis-server:3.4 -f Dockerfile . ``` You may skip this step. The container will be downloaded from the Docker Hub. ### Run the docker and map host data ``` -$ docker run -v $(pwd)/data:/io/data -v $(pwd)/plugins:/io/plugins --name qgis-server -d -p 8010:80 openquake/qgis-server:3.4.2 +$ docker run -v $(pwd)/data:/io/data -v $(pwd)/plugins:/io/plugins --name qgis-server -d -p 8010:80 openquake/qgis-server:3.4 ``` `WMS` and `WFS` will be published at `http://localhost:8010/ogc/`. @@ -59,7 +59,7 @@ where `qgis-server` is the name of the container. Default log level is set to `warning`. Log level can be increased during container deployment passing the `-e QGIS_SERVER_LOG_LEVEL=0` option: ``` -$ docker run -e QGIS_SERVER_LOG_LEVEL=0 -v $(pwd)/data:/io/data -v $(pwd)/plugins:/io/plugins --name qgis-server -d -p 8010:80 openquake/qgis-server:3.4.2 +$ docker run -e QGIS_SERVER_LOG_LEVEL=0 -v $(pwd)/data:/io/data -v $(pwd)/plugins:/io/plugins --name qgis-server -d -p 8010:80 openquake/qgis-server:3.4 ``` ### Run the docker and map host data (via docker-compose)