add: tor bridge docker deployment

This commit is contained in:
2023-09-24 14:14:29 +00:00
parent 620c557351
commit ac4b7cd239
2 changed files with 30 additions and 0 deletions

View File

@@ -94,6 +94,7 @@
- atlantis-hub
- grafana
- event-dispatcher
- tor
- name: Copy compose templates
template:
@@ -110,6 +111,7 @@
- atlantis-hub
- grafana
- event-dispatcher
- tor
- name: Log into private registry
docker_login:
@@ -142,6 +144,7 @@
- atlantis-hub
- grafana
- event-dispatcher
- tor
- name: OAuth2Proxy directories
file:

View File

@@ -0,0 +1,27 @@
version: "3.4"
services:
obfs4-bridge:
image: thetorproject/obfs4-bridge:latest
networks:
- obfs4_bridge_external_network
environment:
- OR_PORT=20000
- PT_PORT=20001
- EMAIL=nobody@HISTORY_PURGED_SECRET.com
- NICKNAME=HISTORY_PURGED_SECRET
- OBFS4_ENABLE_ADDITIONAL_VARIABLES=1
- OBFS4V_AddressDisableIPv6=1
# - OBFS4V_PublishServerDescriptor=0
volumes:
- data:/var/lib/tor
ports:
- 20000:20000
- 20001:20001
restart: unless-stopped
volumes:
data:
name: tor-datadir-20000-20001
networks:
obfs4_bridge_external_network