From abedf7a789e5e300627c3c2e85efc6ffa223c981 Mon Sep 17 00:00:00 2001 From: Kibi Kelburton Date: Sun, 26 Jul 2026 21:37:07 +0200 Subject: [PATCH] trying HS --- config/tor/torrc | 9 +++++++++ docker-compose.yml | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 config/tor/torrc diff --git a/config/tor/torrc b/config/tor/torrc new file mode 100644 index 0000000..1333b25 --- /dev/null +++ b/config/tor/torrc @@ -0,0 +1,9 @@ +# Tor configuration for f0ckm + +# Enable SOCKS proxy for internal container & external connections +SocksPort 0.0.0.0:9050 + +# Tor Hidden Service (v3 Onion Service) configuration +# Tor will automatically generate private keys and hostnames in /var/lib/tor/f0ckm_hs/ +HiddenServiceDir /var/lib/tor/f0ckm_hs/ +HiddenServicePort 80 f0ckm:1337 diff --git a/docker-compose.yml b/docker-compose.yml index 720ef65..2f9e161 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -52,6 +52,9 @@ services: ports: - "9050:9050" - "8118:8118" + volumes: + - ./config/tor:/etc/tor:ro + - ./f0ckm-data/tor:/var/lib/tor:Z networks: - f0ckm-net restart: always