diff --git a/compose.yml b/compose.yml index 53369527..abe46f78 100644 --- a/compose.yml +++ b/compose.yml @@ -3,23 +3,19 @@ version: '3.8' services: router: build: . - command: ["/.venv/bin/fastapi", "run", "router", "--host", "0.0.0.0"] - ports: - - 8001:8000 volumes: - .:/app env_file: - .env tor: - image: goldy/tor-hidden-service:latest + image: ghcr.io/hundehausen/tor-hidden-service:latest volumes: - tor-data:/var/lib/tor environment: - - VIRTUAL_PORT=80 - - TARGET_HOST=router - - TARGET_PORT=8000 - networks: + # Format: HS_=:: + - HS_ROUTER=router:8000:80 + depends_on: - router volumes: