31 lines
663 B
YAML
31 lines
663 B
YAML
# Tor hidden service overlay for BOTFIGHTS
|
|||
|
|
# Usage: docker compose -f docker-compose.yml -f docker-compose.tor.yml up -d
|
||
|
|
#
|
||
|
|
# After first start, get your .onion address:
|
||
|
|
# docker compose exec tor cat /var/lib/tor/botfights/hostname
|
||
|
|
|
||
|
|
services:
|
||
|
|
botfights:
|
||
|
|
# Remove public port exposure when using Tor-only mode
|
||
|
|
# ports: []
|
||
|
|
networks:
|
||
|
|
- tornet
|
||
|
|
|
||
|
|
tor:
|
||
|
|
image: osminogin/tor-simple:latest
|
||
|
|
container_name: botfights-tor
|
||
|
|
restart: unless-stopped
|
||
|
|
volumes:
|
||
|
|
- tor-keys:/var/lib/tor/botfights
|
||
|
|
- ./torrc:/etc/tor/torrc:ro
|
||
|
|
depends_on:
|
||
|
|
- botfights
|
||
|
|
networks:
|
||
|
|
- tornet
|
||
|
|
|
||
|
|
networks:
|
||
|
|
tornet:
|
||
|
|
|
||
|
|
volumes:
|
||
|
|
tor-keys:
|