more info on Docker

fixed docker link, added docker compose and start up info.
This commit is contained in:
Yongwen Xu 2016-07-18 17:41:34 -07:00 committed by GitHub
parent 8360cf4498
commit 938b31fc2c

View file

@ -63,12 +63,13 @@ need to change this.
Docker
------
Alternatively, you can use `Docker`_ to install and run SnapPass:
.. _Docker: https://www.docker.com/
Alternatively, you can use `Docker`_ and `Docker Compose`_ to install and run SnapPass:
.. _Docker: https://www.docker.com/
.. _Docker Compose: https://docs.docker.com/compose/
::
$ docker build -t snappass .
$ docker-compose up -d
This will pull all dependencies, i.e. Redis and appropriate Python version.
This will pull all dependencies, i.e. Redis and appropriate Python version (3.3), then start up snappass and Redis server. SnapPass server is accessible at: http://localhost:5000