Make Tor optional in the Docker image and disable it by default as it's usage may be not allowed by hosting providers

This commit is contained in:
Aitor Pazos 2016-09-19 23:00:58 +01:00
parent 9e68a6f7e7
commit 39dc00ad78
2 changed files with 9 additions and 1 deletions

View file

@ -103,6 +103,11 @@ It downloads the latest version of ZeroNet then starts it automatically.
### [Docker](https://www.docker.com/)
* `docker run -d -v <local_data_folder>:/root/data -p 15441:15441 -p 43110:43110 nofish/zeronet`
* This Docker image includes the Tor proxy, which is disabled by default. Beware that some
hosting providers may not allow you running Tor in their servers. If you want to enable it,
set `ENABLE_TOR` environment variable to `true` (Default: `false`). E.g.:
`docker run -d -e "ENABLE_TOR=true" -v <local_data_folder>:/root/data -p 15441:15441 -p 43110:43110 nofish/zeronet`
* Open http://127.0.0.1:43110/ in your browser
### [Virtualenv](https://virtualenv.readthedocs.org/en/latest/)