From b7dde89a03110c8c08ef825a23117511692a029a Mon Sep 17 00:00:00 2001 From: Matthew Crowson Date: Wed, 17 Aug 2016 10:29:11 -0400 Subject: [PATCH] Docker documentation update Including example command for using the alternate tor proxy command. Additionally changed line 114 to down rather than rm so that the containers are stopped before they are removed in the case that the containers were launched in detached mode. --- docs/installation.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/installation.md b/docs/installation.md index ebdcc9ba01..4a8dd88ae2 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -97,13 +97,21 @@ if docker-compose [installed](https://docs.docker.com/compose/install/) you can docker-compose up ``` +An example of routing the bot's traffic through a tor proxy can be found within the docker-compose_tor.yml file. To use a different file, supply the file name to docker-compose. The d flag is used to run this in detached mode as the tor logs overwhelm any bot logs you might wish to view. The bot logs can still be seen through `docker logs` command. + +``` +docker-compose -f docker-compose_tor.yml up -d +``` + Also run one single service from the compose configuration is possible: ``` docker-compose run --rm bot1-pokego ``` -command for remove all stopped containers: `docker-compose rm` + + +command to stop and remove all stopped containers: `docker-compose down` TODO: Add infos / configuration for running multiple bot instances.