mirror of
https://github.com/cmehay/docker-tor-hidden-service.git
synced 2025-05-27 04:07:13 +00:00
WIP: Adding vanguard...
This commit is contained in:
parent
af0cbea44f
commit
0334d7eb6b
13 changed files with 682 additions and 127 deletions
36
docker-compose.vanguards.yml
Normal file
36
docker-compose.vanguards.yml
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Secure vangard in the same container
|
||||
|
||||
version: "3.1"
|
||||
|
||||
services:
|
||||
tor:
|
||||
image: goldy/tor-hidden-service:$CUR_TAG
|
||||
environment:
|
||||
TOR_ENABLE_VANGUARDS: 'true'
|
||||
HELLO_TOR_SERVICE_HOSTS: '80:hello:80'
|
||||
HELLO_TOR_SERVICE_VERSION: '3'
|
||||
|
||||
|
||||
# Keep keys in volumes
|
||||
volumes:
|
||||
- tor-keys:/var/lib/tor/hidden_service/
|
||||
|
||||
# Set secret for key, use the same name as the service
|
||||
secrets:
|
||||
- source: hello
|
||||
target: hello
|
||||
mode: 0400
|
||||
|
||||
hello:
|
||||
image: tutum/hello-world
|
||||
hostname: hello
|
||||
depends_on:
|
||||
- tor
|
||||
|
||||
volumes:
|
||||
tor-keys:
|
||||
driver: local
|
||||
|
||||
secrets:
|
||||
hello:
|
||||
file: ./private_key_bar_v3
|
Loading…
Add table
Add a link
Reference in a new issue