-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
42 lines (39 loc) · 1.2 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: "2.4"
services:
obfs4-bridge:
platform: linux/arm/v6
build:
context: .
dockerfile: Dockerfile
container_name: tor
environment:
# Set required variables
- OR_PORT=65533
- PT_PORT=65532
# If you want, you could change the nickname of your bridge
#NICKNAME=DockerObfs4Bridge
# If needed, activate additional variables processing
- OBFS4_ENABLE_ADDITIONAL_VARIABLES=1
# and define desired torrc entries prefixed with OBFS4V_
# For example:
# Disable IPv6
- OBFS4V_AddressDisableIPv6=1
# set the limit around 3 Mbit/s
# Maximum long-term bandwidth allowed
- OBFS4V_BandwidthRate="375000 Bytes"
# Short periods of traffic above BandwidthRate
- OBFS4V_BandwidthBurst="750000 Bytes"
# To specify an exit node, if you know what you're doing
# - OBFS4V_ExitNodes="{mc},{sg},{ro},{ch},{dk},{cl} StrictNodes 1"
# Never use these exit nodes
# - OBFS4V_ExcludeExitNodes="{us}"
volumes:
- data:/var/lib/tor
ports:
- 65533:65533
- 65532:65532
restart: unless-stopped
volumes:
data:
name: tor-datadir