fix: vanguards cant see the consensus list

This commit is contained in:
wander 2026-02-06 21:26:00 -05:00
parent 6e17d8bec4
commit 88d63072ce
2 changed files with 13 additions and 1 deletions

View file

@ -9,12 +9,21 @@ services:
restart: unless-stopped
environment:
# Format: ExternalPort:ContainerName:InternalPort
- HIDDEN_SERVICE_HOSTS=80:my-website:80
# Pointing to the new 'web' service below
- HIDDEN_SERVICE_HOSTS=80:web:80
- TOR_CONTROL_PASSWORD=secure_password
ports:
- "9051:9051" # Expose control port
volumes:
- tor-data:/var/lib/tor/
depends_on:
- web
# Demo Web Service (So Tor has something to host)
web:
image: nginx:alpine
container_name: my-website
restart: unless-stopped
# Vanguards Service - Runs Vanguards only (Sidecar)
vanguards:
@ -28,6 +37,8 @@ services:
- HIDDEN_SERVICE_HOSTS=""
depends_on:
- tor
volumes:
- tor-data:/var/lib/tor/
volumes:
tor-data: