-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from BBVA/develop
add quickstart docs
- Loading branch information
Showing
5 changed files
with
65 additions
and
37 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
Quick start | ||
=========== | ||
|
||
This document is a quick introduction for use Deeptracy Service | ||
|
||
First of run Patton Server | ||
++++++++++++++++++++++++++ | ||
|
||
1 - Install Docker Compose | ||
------------------------- | ||
|
||
`Install Docker Compose from this link <https://docs.docker.com/compose/install/>`_ | ||
|
||
2 - Create a docker-compose.yml file | ||
----------------------- | ||
.. code-block:: file | ||
version: '3' | ||
services: | ||
deeptracy: | ||
image: bbvalabs/deeptracy:latest | ||
depends_on: | ||
- redis | ||
- postgres | ||
environment: | ||
- BROKER_URI=redis://redis:6379 | ||
- DATABASE_URI=postgresql://postgres:postgres@postgres:5433/deeptracy | ||
- POSTGRES_URI=postgresql://postgres:postgres@postgres:5433 | ||
- SHARED_VOLUME_PATH=/tmp/deeptracy | ||
- LOCAL_PRIVATE_KEY_FILE=/root/.ssh/id_rsa | ||
- PATTON_URI=http://localhost:8000 | ||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
- /tmp:/tmp | ||
- ./private_key:/root/.ssh/ | ||
privileged: true | ||
command: ["./init_patton_db.sh"] | ||
postgres: | ||
image: postgres:9.6-alpine | ||
ports: | ||
- 5433:5433 | ||
environment: | ||
- POSTGRES_PASSWORD=postgres | ||
command: -p 5433 | ||
redis: | ||
image: redis:3-alpine | ||
ports: | ||
- 6379:6379 | ||
3 - Execute the docker-compose file | ||
----------------------- | ||
.. code-block:: bash | ||
> docker-compose up | ||
4 - ENJOY DEEPTRACY WITH PATTON | ||
----------------------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters