Skip to content

Commit

Permalink
Improve Docker usage examples
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Aug 9, 2024
1 parent 36baf0c commit 15ed2ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ bbox-server --help
BBOX is also available as a [Docker image](https://hub.docker.com/r/sourcepole/bbox-server-qgis). You can either share a configuration file from the host with the container via the `-v` param, or run BBOX in auto-discovery mode.

```shell
docker run -p 8080:8080 -v $PWD/bbox.toml:/var/www/bbox.toml:ro -v $PWD/assets:/var/www/assets:ro sourcepole/bbox-server-qgis:v0.6.0
docker run --rm --user=$UID -p 8080:8080 -v $PWD/bbox.toml:/bbox.toml:ro -v $PWD/assets:/assets:ro sourcepole/bbox-server-qgis:v0.6.0
```
4 changes: 2 additions & 2 deletions docs/src/tile-server/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ bbox-tile-server --help

## Docker

BBOX tile server is also available as a [Docker image](https://hub.docker.com/r/sourcepole/bbox-tile-server). You could either share a configuration file from the host with the container via the `-v` param, or you can run BBOX in auto-discover mode.
BBOX tile server is also available as a [Docker image](https://hub.docker.com/r/sourcepole/bbox-tile-server). You can either share a configuration file from the host with the container via the `-v` param, or you can run BBOX in auto-discover mode.

```shell
docker run -p 8080:8080 -v $PWD/bbox.toml:/var/www/bbox.toml:ro -v $PWD/assets:/var/www/assets:ro sourcepole/bbox-tile-server:v0.6.0
docker run --rm --user=$UID -p 8080:8080 -v $PWD/bbox.toml:/bbox.toml:ro -v $PWD/assets:/assets:ro sourcepole/bbox-server-qgis:v0.6.0
```

0 comments on commit 15ed2ab

Please sign in to comment.