mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 19:48:47 +00:00
Tweak transmission paths and settings
This commit is contained in:
parent
299a73705c
commit
6c7c66c9a1
2 changed files with 12 additions and 5 deletions
|
@ -357,6 +357,8 @@ transmission_external_port: "51414"
|
|||
transmission_openvpn_webui_port: "9091"
|
||||
transmission_openvpn_external_port: "51415"
|
||||
transmission_openvpn_proxy_port: "3128"
|
||||
transmission_openvpn_ratio_limit_enabled: "true"
|
||||
transmission_openvpn_ratio_limit: 2
|
||||
|
||||
# Transmission VPN Credentials
|
||||
# If you're using Transmission with a VPN, you'll need to set these credentials.
|
||||
|
|
|
@ -16,22 +16,27 @@
|
|||
pull: true
|
||||
volumes:
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
- "{{ transmission_download_directory }}:/storage/downloads:rw"
|
||||
- "{{ transmission_download_directory }}:/downloads:rw"
|
||||
- "{{ transmission_config_directory }}:/config:rw"
|
||||
- "{{ transmission_watch_directory }}:/storage/watch:rw"
|
||||
- "{{ transmission_watch_directory }}:/watch:rw"
|
||||
- "/etc/timezone:/etc/timezone:ro"
|
||||
ports:
|
||||
- "{{ transmission_openvpn_webui_port }}:9091"
|
||||
- "{{ transmission_openvpn_external_port }}:51413"
|
||||
- "{{ transmission_openvpn_proxy_port }}:3128"
|
||||
env:
|
||||
TRANSMISSION_HOME: "/config"
|
||||
TRANSMISSION_DOWNLOAD_DIR: "/storage/downloads/complete"
|
||||
TRANSMISSION_INCOMPLETE_DIR: "/storage/downloads/incomplete"
|
||||
TRANSMISSION_WATCH_DIR: "/storage/watch"
|
||||
TRANSMISSION_DOWNLOAD_DIR: "/downloads"
|
||||
TRANSMISSION_INCOMPLETE_DIR: "/downloads/.incomplete"
|
||||
TRANSMISSION_WATCH_DIR: "/watch"
|
||||
TRANSMISSION_RATIO_LIMIT: "{{ transmission_openvpn_ratio_limit }}"
|
||||
TRANSMISSION_RATIO_LIMIT_ENABLED: "{{ transmission_openvpn_ratio_limit_enabled }}"
|
||||
OPENVPN_PROVIDER: "{{ openvpn_provider }}"
|
||||
OPENVPN_USERNAME: "{{ openvpn_username }}"
|
||||
OPENVPN_PASSWORD: "{{ openvpn_password }}"
|
||||
OPENVPN_CONFIG: "{{ openvpn_config }}"
|
||||
WEBPROXY_ENABLED: "true"
|
||||
WEBPROXY_PORT: "3128"
|
||||
PUID: "{{ transmission_user_id }}"
|
||||
PGID: "{{ transmission_group_id }}"
|
||||
LOCAL_NETWORK: "{{ transmission_local_network }}"
|
||||
|
|
Loading…
Reference in a new issue