From a406f8b2574b7bbee33c93e37b2bca33dee70be8 Mon Sep 17 00:00:00 2001 From: gigirassy Date: Mon, 10 Nov 2025 17:01:39 +0100 Subject: [PATCH] Add compose-configs/torbridges/compose.yml --- compose-configs/torbridges/compose.yml | 54 ++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 compose-configs/torbridges/compose.yml diff --git a/compose-configs/torbridges/compose.yml b/compose-configs/torbridges/compose.yml new file mode 100644 index 0000000..0768825 --- /dev/null +++ b/compose-configs/torbridges/compose.yml @@ -0,0 +1,54 @@ +# two bridges i host to help out with tor project +services: + obfs4-bridge: + image: thetorproject/obfs4-bridge:latest + networks: + - obfs4_bridge_external_network1 + environment: + # Exit with an error message if OR_PORT is unset or empty. + - OR_PORT=31312 + # Exit with an error message if PT_PORT is unset or empty. + - PT_PORT=31311 + # Exit with an error message if EMAIL is unset or empty. + - EMAIL=no email. bridge hosted by blitzw.in + # Nickname with default value: "DockerObfs4Bridge" + - NICKNAME=Moscardo + - OBFS4_ENABLE_ADDITIONAL_VARIABLES=1 + - OBFS4V_BridgeDistribution=settings + volumes: + - data1:/var/lib/tor + ports: + - 31312:31312 + - 31311:31311 + restart: unless-stopped + obfs4-bridge2: + image: thetorproject/obfs4-bridge:latest + networks: + - obfs4_bridge_external_network2 + environment: + # Exit with an error message if OR_PORT is unset or empty. + - OR_PORT=31314 + # Exit with an error message if PT_PORT is unset or empty. + - PT_PORT=31313 + # Exit with an error message if EMAIL is unset or empty. + - EMAIL=no email. bridge hosted by blitzw.in + # Nickname with default value: "DockerObfs4Bridge" + - NICKNAME=Wasp + - OBFS4_ENABLE_ADDITIONAL_VARIABLES=1 + - OBFS4V_BridgeDistribution=settings + volumes: + - data2:/var/lib/tor + ports: + - 31313:31313 + - 31314:31314 + restart: unless-stopped + +volumes: + data1: + name: tor-datadir + data2: + name: tor-datadir2 + +networks: + obfs4_bridge_external_network1: + obfs4_bridge_external_network2: \ No newline at end of file