mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-08-03 00:36:15 +00:00
30 lines
598 B
YAML
30 lines
598 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
router:
|
|
build: .
|
|
volumes:
|
|
- .:/app
|
|
- ./logs:/app/logs
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- TOR_PROXY_URL=socks5://tor:9050
|
|
ports:
|
|
- 8000:8000
|
|
extra_hosts: # Needed to access locally running models
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
tor:
|
|
image: ghcr.io/hundehausen/tor-hidden-service:latest
|
|
volumes:
|
|
- tor-data:/var/lib/tor
|
|
environment:
|
|
# Format: HS_<NAME>=<TARGET_HOST>:<TARGET_PORT>:<VIRTUAL_PORT>
|
|
- HS_ROUTER=router:8000:80
|
|
depends_on:
|
|
- router
|
|
|
|
volumes:
|
|
tor-data:
|