.. | ||
agent-conf | ||
Dockerfile | ||
README.md | ||
torch-agent.wrapper.sh |
Tor Test Harness for TORch Agent
This is a Docker container for running the current development version of TORch Agent in an environment with a local Tor Proxy (without having to install and configure Tor on the development machine itself)
Preparation
- Build a Debian package from the current development version of TORch Agent
python -m venv venv && source venv/bin/activate
pip3 install -r requirements.txt
./build-deb.sh
- Build the Docker image
docker build -f docker-tor/Dockerfile -t torch-agent .
-
Configure
torch-agent
by editingagent-conf/torch.conf
- Be sure to update the onion hostname of the broker with the one you wish to test with
-
Launch the Docker container
docker run -it --rm -v "$(pwd)/docker-tor/agent-conf:/etc/torch" torch-agent