Skip to content

Commit 978a755

Browse files
committed
Update Docker Compose docs
1 parent bf1cc8d commit 978a755

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

README.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CWL Viewer
22

3-
This is a work-in-progress [Spring Boot](http://projects.spring.io/spring-boot/) MVC application which fetches [Common Workflow Language](http://www.commonwl.org/) files from a Github repository and creates a page for it detailing the main workflow and its inputs, outputs and steps.
3+
This is a [Spring Boot](http://projects.spring.io/spring-boot/) MVC application which fetches [Common Workflow Language](http://www.commonwl.org/) files from a Github repository and creates a page for it detailing the main workflow and its inputs, outputs and steps.
44

55
[![Build Status](https://travis-ci.org/common-workflow-language/cwlviewer.svg?branch=master)](https://travis-ci.org/common-workflow-language/cwlviewer) [![Gitter](https://img.shields.io/gitter/room/gitterHQ/gitter.svg)](https://gitter.im/common-workflow-language/cwlviewer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![](https://images.microbadger.com/badges/image/commonworkflowlanguage/cwlviewer.svg)](https://microbadger.com/images/commonworkflowlanguage/cwlviewer "MicroBadger commonworkflowlanguage/cwlviewer") [![Docker image commonworkflowlanguage/cwlviewer](https://images.microbadger.com/badges/version/commonworkflowlanguage/cwlviewer.svg)](https://hub.docker.com/r/commonworkflowlanguage/cwlviewer/ "Docker Hub commonworkflowlanguage/cwlviewer")
66
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.823534.svg)](https://doi.org/10.5281/zenodo.823534)
@@ -17,14 +17,14 @@ See the file [LICENSE.md](LICENSE.md) for details, and
1717

1818
Feel free to contribute! You may [raise an issue](https://github.com/common-workflow-language/cwlviewer/issues),
1919
provide a [pull request](https://github.com/common-workflow-language/cwlviewer/pulls)
20-
or join the [gitter chat for common-workflow-language](https://gitter.im/common-workflow-language/common-workflow-language)!
20+
or join the [gitter chat for cwlviewer](https://gitter.im/common-workflow-language/cwlviewer)!
2121

2222

2323
## Recommended - Running with Docker
2424

25-
This application can be started with [Docker](https://www.docker.com/).
25+
This application can be started with [Docker](https://www.docker.com/) and [Docker Compose](https://docs.docker.com/compose/install/).
2626

27-
If you have [Docker Compose](https://docs.docker.com/compose/install/), then to start CWLViewer exposed on port `8080`, run:
27+
To start CWLViewer exposed on port `8080`, run:
2828

2929
docker-compose up
3030

@@ -36,24 +36,14 @@ If you change the source code, then use this `docker-compose.override.yml` and
3636
re-build with `docker-compose build`:
3737

3838
```yaml
39-
version: '2'
39+
version: '3.2'
4040
services:
4141
spring:
4242
build: .
4343
```
4444
4545
See the [docker-compose.yml](docker-compose.yml) file for details.
4646
47-
If you don't want to use Docker Compose, you can do the equivalent manually with `docker`
48-
and the [commonworkflowlanguage/cwlviewer](https://hub.docker.com/r/commonworkflowlanguage/cwlviewer/builds/) docker image.
49-
50-
docker run --name cwlviewer-mongo -p 27017:27017 -d mongo
51-
docker run --name cwlviewer -p 8080:8080 --link cwlviewer-mongo:mongo -d commonworkflowlanguage/cwlviewer
52-
docker logs -f cwlviewer
53-
54-
55-
**WARNING**: Please ensure that your MongoDB installation is not exposed to the world on port `27017`
56-
5747
If you have modified the source code, then you may want to build the docker image locally first:
5848
5949
docker build -t commonworkflowlanguage/cwlviewer .

0 commit comments

Comments
 (0)