mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-08-10 11:13:08 +00:00
add tor hidden service option
This commit is contained in:
+16
-3
@@ -1,12 +1,25 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
routstr-proxy:
|
||||
router:
|
||||
build: .
|
||||
command: ["fastapi", "dev", "main.py", "--host", "0.0.0.0", "--port", "8000"]
|
||||
ports:
|
||||
- "8000:8000"
|
||||
# ports:
|
||||
# - 8000:8000
|
||||
volumes:
|
||||
- .:/app
|
||||
env_file:
|
||||
- .env
|
||||
tor:
|
||||
image: goldy/tor-hidden-service:latest
|
||||
volumes:
|
||||
- tor-data:/var/lib/tor
|
||||
environment:
|
||||
- VIRTUAL_PORT=80
|
||||
- TARGET_HOST=router
|
||||
- TARGET_PORT=8000
|
||||
networks:
|
||||
- router
|
||||
|
||||
volumes:
|
||||
tor-data:
|
||||
|
||||
Reference in New Issue
Block a user