-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (46 loc) · 1.33 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
43
44
45
46
47
name: tor
services:
server:
image: casjaysdevdocker/tor:latest
container_name: tor
hostname: ${BASE_HOST_NAME:-$HOSTNAME}
restart: always
pull_policy: always
privileged: true
environment:
- TOR_DNS_ENABLED=yes
- TOR_RELAY_ENABLED=yes
- TOR_HIDDEN_ENABLED =yes
- TOR_BRIDGE_ENABLED=yes
- TOR_SOCKS_SAFE=0
- TOR_SOCKS_TIMEOUT=30
- TOR_RELAY_PORT=57000
- TOR_RELAY_OR_PORT=57001
- TOR_RELAY_DIR_PORT=57002
- 'TOR_RELAY_ACCOUNT_MAX=1000 GBytes'
- TOR_RELAY_NICK_NAME=CasjaysDevRelay
- TOR_RELAY_ADMIN=tor-admin@${BASE_HOST_NAME:-$HOSTNAME}
- TOR_BRIDGE_PT_PORT=57003
- TOR_BRIDGE_OR_PORT=57004
- TOR_BRIDGE_DIR_PORT=57005
- TOR_BRIDGE_NICK_NAME=CasjaysDev
- TOR_BRIDGE_ADMIN=tor-admin@${BASE_HOST_NAME:-$HOSTNAME}
- 'TOR_BRIDGE_ACCOUNT_MAX=1000 GBytes'
ports:
- '8118:8118/tcp'
- '9040:9040/tcp'
- '9050:9050/tcp'
- '9051:9051/tcp'
- '9053:9053/tcp'
- '9053:9053/udp'
- '57000-57005:57000-57005/tcp'
- '57000-57005:57000-57005/udp'
volumes:
- /var/lib/srv/${USER}/docker/casjaysdevdocker/tor/latest/data:/data
- /var/lib/srv/${USER}/docker/casjaysdevdocker/tor/latest/config:/config
networks:
- tor
networks:
tor:
name: tor
external: false