Add compose-configs/torbridges/compose.yml

This commit is contained in:
gigirassy
2025-11-10 17:01:39 +01:00
parent 368dafcdb0
commit a406f8b257
+54
View File
@@ -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: