Skip to content

Commit

Permalink
Documenting docker-compose with Tor (#4161)
Browse files Browse the repository at this point in the history
* Send bot through Tor

All of the bot's API requests go through tor

* links privoxy

you gotta link if you want to reference

* keep privoxy up too

* 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.
  • Loading branch information
Matthew Crowson authored and douglascamata committed Aug 17, 2016
1 parent a940e54 commit 4df7d6e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,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.

Expand Down

0 comments on commit 4df7d6e

Please sign in to comment.