Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

Commit

Permalink
Fix transmission networking
Browse files Browse the repository at this point in the history
  • Loading branch information
David Fernandez committed Jul 8, 2017
1 parent 05d722c commit 63bd95e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions ansible/roles/services/transmission/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ transmission_image_name: linuxserver/transmission
transmission_image_version: latest
instance_name: transmission

rpc_bind_address: 172.17.0.1
bind_address: 172.17.0.1
rpc_port: 9091
peer_port: 51413


multimedia_directory: /multimedia/data
multimedia_directory: /multimedia/data

timezone: Europe/London
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ services:
transmission:
image: {{ transmission_image_name }}:{{ transmission_image_version }}
ports:
- {{ rpc_bind_address }}:{{ rpc_port }}:9091
- {{ bind_address }}:{{ rpc_port }}:9091
- {{ peer_port }}:51413
- {{ peer_port }}:51313/udp
volumes:
- /opt/dockerapps/{{ instance_name }}/settings.json:/config/settings.json:ro,z
- {{ multimedia_directory }}:{{ multimedia_directory }}:z
environment:
- e TZ=Europe/London
- e TZ={{ timezone }}
- e UID={{ uid }}
- e GID={{ gid }}
network_mode: bridge
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv4": "{{ bind_address }}",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"blocklist-url": "http://www.example.com/blocklist",
Expand Down

0 comments on commit 63bd95e

Please sign in to comment.