stable 1.0.0
This commit is contained in:
parent
88d63072ce
commit
e075e900cf
3 changed files with 100 additions and 184 deletions
39
docker-compose.yml.bak
Normal file
39
docker-compose.yml.bak
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
services:
|
||||
# Tor Service - Runs Tor with Strict Validation
|
||||
tor:
|
||||
build: .
|
||||
image: docker-tor-hidden-service:latest
|
||||
container_name: tor-service
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
# Format: ExternalPort:ContainerName:InternalPort
|
||||
- HIDDEN_SERVICE_HOSTS=80:web:80
|
||||
- TOR_CONTROL_PASSWORD=secure_password
|
||||
ports:
|
||||
- "9051:9051"
|
||||
volumes:
|
||||
- tor-data:/var/lib/tor/
|
||||
depends_on:
|
||||
- web
|
||||
|
||||
# Demo Web Service
|
||||
web:
|
||||
image: nginx:alpine
|
||||
container_name: my-website
|
||||
restart: unless-stopped
|
||||
|
||||
# Vanguards Service - Sidecar
|
||||
vanguards:
|
||||
build: .
|
||||
image: docker-tor-hidden-service:latest
|
||||
container_name: vanguards-sidecar
|
||||
restart: unless-stopped
|
||||
# The 'vanguards' first word triggers the logic in your entrypoint.sh
|
||||
command: vanguards --control_ip tor-service --control_port 9051 --control_pass secure_password
|
||||
depends_on:
|
||||
- tor
|
||||
volumes:
|
||||
- tor-data:/var/lib/tor/
|
||||
|
||||
volumes:
|
||||
tor-data:
|
||||
Loading…
Add table
Add a link
Reference in a new issue