more info on Docker
fixed docker link, added docker compose and start up info.
This commit is contained in:
parent
8360cf4498
commit
938b31fc2c
1 changed files with 4 additions and 3 deletions
|
@ -63,12 +63,13 @@ need to change this.
|
||||||
Docker
|
Docker
|
||||||
------
|
------
|
||||||
|
|
||||||
Alternatively, you can use `Docker`_ to install and run SnapPass:
|
Alternatively, you can use `Docker`_ and `Docker Compose`_ to install and run SnapPass:
|
||||||
.. _Docker: https://www.docker.com/
|
|
||||||
|
|
||||||
|
.. _Docker: https://www.docker.com/
|
||||||
|
.. _Docker Compose: https://docs.docker.com/compose/
|
||||||
::
|
::
|
||||||
|
|
||||||
$ docker build -t snappass .
|
$ docker build -t snappass .
|
||||||
$ docker-compose up -d
|
$ 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
|
||||||
|
|
Loading…
Reference in a new issue