This is the prototype web service for the dockstore. The usage of this is to enumerate the docker containers (from quay.io and hopefully docker hub) and the workflows (from github) that are available to users of Collaboratory.
docker build -t dockstore:1.0.0 .
Probably the best way to run this since it includes a bundled postgres. Keep in mind once you terminate the Docker container any state in the DB is lost.
- Fill in the template hello-world.yml and stash it somewhere outside the git repo (like ~/.dockstore)
- Start with
docker run -it -v ~/.dockstore/hello-world.yml:/hello-world.yml -e POSTGRES_PASSWORD=iAMs00perSecrEET -e POSTGRES_USER=webservice -p 8080:8080 dockstore:1.0.0
You can also run it on your local computer but will need to setup postgres separately.
- Fill in the template hello-world.yml and stash it somewhere outside the git repo (like ~/.dockstore)
- Start with java -jar target/dockstore-0.0.1-SNAPSHOT.jar server ~/.dockstore/hello-world.yml
- Setup an application as described in Creating a new Application
- Browse to http://localhost:8080/integration.quay.io
- Authorize via quay.io using the provided link
- Browse to http://localhost:8080/docker.repo to list repos that we have tokens for at quay.io
- Setup a new OAuth application at Register a new OAuth application
- Browse to http://localhost:8080/integration.github.com
- Authorize via github.com using the provided link
- Browse to http://localhost:8080/github.repo to list repos along with their collab.json (if they exist)
- we need to define how this interacts with a single sign-on service
- in general, users should be able to list their own information (such as tokens and repos)
- only admin users (or our other services) should be able to list all information
- items from Brian 2. you need better directions for filling in the yml settings file 3. you should create a Dockerfile for this so I can deploy with Docker, this will make testing much easier