|
@@ -15,7 +15,7 @@
|
|
PT_PORT: '{{ pt_port }}'
|
|
PT_PORT: '{{ pt_port }}'
|
|
CONTACT_INFO: '{{ contact_info }}'
|
|
CONTACT_INFO: '{{ contact_info }}'
|
|
volumes:
|
|
volumes:
|
|
- - tor_obfs4_bridge:/var/lib/tor
|
|
|
|
|
|
+ - tor_obfs4_bridge_data:/var/lib/tor
|
|
mounts:
|
|
mounts:
|
|
- type: tmpfs
|
|
- type: tmpfs
|
|
target: /tmp # torrc
|
|
target: /tmp # torrc
|
|
@@ -26,5 +26,7 @@
|
|
ports:
|
|
ports:
|
|
- '{{ or_port }}:{{ or_port }}'
|
|
- '{{ or_port }}:{{ or_port }}'
|
|
- '{{ pt_port }}:{{ pt_port }}'
|
|
- '{{ pt_port }}:{{ pt_port }}'
|
|
|
|
+ cap_drop: [ALL]
|
|
|
|
+ security_opts: [no-new-privileges]
|
|
memory: 256M
|
|
memory: 256M
|
|
restart_policy: unless-stopped
|
|
restart_policy: unless-stopped
|