Skip to content

Commit d7ec4d0

Browse files
committed
Simplify docker usage section in README
1 parent 66872ef commit d7ec4d0

File tree

1 file changed

+2
-37
lines changed

1 file changed

+2
-37
lines changed

README.md

Lines changed: 2 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -263,51 +263,16 @@ Dependencies:
263263
└──► qwc-map-viewer-base │
264264
└─────────────────────┘
265265

266-
### Run docker image
267-
268-
To run this docker image you will need the following three additional services:
269-
270-
* qwc-postgis
271-
* qwc-qgis-server
272-
* qwc-ogc-service
273-
* qwc-data-service
274-
275-
Those services can be found under https://github.com/qwc-services/. The following steps explain how to download those services and how to run the `qwc-map-viewer` with `docker-compose`.
276-
277-
**Step 1: Clone qwc-docker**
278-
279-
git clone https://github.com/qwc-services/qwc-docker
280-
cd qwc-docker
281-
282-
**Step 2: Create docker-compose.yml file**
283-
284-
cp docker-compose-example.yml docker-compose.yml
285-
286-
**Step 3: Choose between a version of the qwc-map-viewer**
287-
288266
#### qwc-map-viewer
289267

290268
This is the stock version used in the `docker-compose-example.yml` file. With this version, the docker image comes with a preinstalled version of the latest qwc2 stock application build and the python application for the viewer. Use this docker image, if you don't have your own build of the QWC2 app.
291269

292270
#### qwc-map-viewer-base
293271

294-
If you want to use your own QWC2 build then this is the docker image that you want to use. This docker image comes with only the python application installed on. Here is an example, on how you can add you own QWC2 build to the docker image:
295-
296-
```
297-
qwc-map-viewer:
298-
image: sourcepole/qwc-map-viewer-base
299-
ports:
300-
- "127.0.0.1:5030:9090"
301-
# Here you mount your own QWC2 build
302-
volumes:
303-
- /PATH_TO_QWC2_BUILD/:/qwc2:ro
304-
- /PATH_TO_CONFIG:/srv/qwc_service/config:ro
305-
```
306-
**Step 4: Start docker containers**
272+
If you want to use your own QWC2 build then this is the docker image that you want to use. This docker image comes with only the python application installed on. Here is an example, on how you can add you own QWC2 build to the docker image.
307273

308-
docker-compose up qwc-map-viewer
309274

310-
For more information please visit: https://github.com/qwc-services/qwc-docker
275+
See sample [docker-compose.yml](https://github.com/qwc-services/qwc-docker/blob/master/docker-compose-example.yml) of [qwc-docker](https://github.com/qwc-services/qwc-docker).
311276

312277

313278
Development

0 commit comments

Comments
 (0)