Fabian Peter Hammerle 8a7787ae3e release fphammerle/onion-service v1.0.1 | 4 years ago | |
---|---|---|
CHANGELOG.md | 4 years ago | |
Dockerfile | 4 years ago | |
README.md | 4 years ago | |
ansible-playbook.yml | 4 years ago | |
docker-compose.yml | 4 years ago | |
entrypoint.sh | 5 years ago | |
torrc.template | 4 years ago |
repo: https://github.com/fphammerle/docker-onion-service
docker hub: https://hub.docker.com/r/fphammerle/onion-service/tags
signed tags: https://github.com/fphammerle/docker-onion-service/tags
defaults to creating a v3 service
$ docker run --name onion-service \
-e VIRTUAL_PORT=80 -e TARGET=1.2.3.4:8080 \
fphammerle/onion-service
$ docker create --name onion-service \
--env VERSION=3 \
--env VIRTUAL_PORT=80 \
--env TARGET=1.2.3.4:8080 \
--volume onion-key:/onion-service \
--restart unless-stopped \
--cap-drop all --security-opt no-new-privileges \
fphammerle/onion-service:latest
$ docker start onion-service
$ docker exec onion-service cat /onion-service/hostname
abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrst.onion
git clone https://github.com/fphammerle/docker-onion-service
docker-compose.yml
docker-compose up --build