Skip to content

Commit

Permalink
Update README [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
daniviga committed Jan 7, 2019
1 parent d2f8e76 commit b994990
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/<project_name>`.
Expand All @@ -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)
Expand Down

0 comments on commit b994990

Please sign in to comment.