Skip to content

Commit f379f9a

Browse files
authored
Merge pull request #281 from linuxserver/print-version
Print version on init
2 parents 0af7946 + 78bcde2 commit f379f9a

File tree

6 files changed

+11
-25
lines changed

6 files changed

+11
-25
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ RUN \
2929
transmission-daemon==${TRANSMISSION_VERSION} \
3030
transmission-extra==${TRANSMISSION_VERSION} \
3131
transmission-remote==${TRANSMISSION_VERSION} && \
32+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3233
echo "**** cleanup ****" && \
3334
apk del --purge \
3435
build-dependencies && \

Dockerfile.aarch64

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ RUN \
2929
transmission-daemon==${TRANSMISSION_VERSION} \
3030
transmission-extra==${TRANSMISSION_VERSION} \
3131
transmission-remote==${TRANSMISSION_VERSION} && \
32+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3233
echo "**** cleanup ****" && \
3334
apk del --purge \
3435
build-dependencies && \

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ pipeline {
3434
CI_PORT='9091'
3535
CI_SSL='false'
3636
CI_DELAY='120'
37-
CI_DOCKERENV='TZ=US/Pacific'
38-
CI_AUTH='user:password'
37+
CI_DOCKERENV=''
38+
CI_AUTH=''
3939
CI_WEBPATH=''
4040
}
4141
stages {

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ services:
106106
- PEERPORT= #optional
107107
- HOST_WHITELIST= #optional
108108
volumes:
109-
- /path/to/data:/config
109+
- /path/to/transmission/data:/config
110110
- /path/to/downloads:/downloads
111111
- /path/to/watch/folder:/watch
112112
ports:
@@ -133,7 +133,7 @@ docker run -d \
133133
-p 9091:9091 \
134134
-p 51413:51413 \
135135
-p 51413:51413/udp \
136-
-v /path/to/data:/config \
136+
-v /path/to/transmission/data:/config \
137137
-v /path/to/downloads:/downloads \
138138
-v /path/to/watch/folder:/watch \
139139
--restart unless-stopped \

jenkins-vars.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ external_type: alpine_repo
66
release_type: stable
77
release_tag: latest
88
ls_branch: master
9-
build_armhf: false
109
repo_vars:
1110
- BUILD_VERSION_ARG = 'TRANSMISSION_VERSION'
1211
- LS_USER = 'linuxserver'
@@ -25,6 +24,6 @@ repo_vars:
2524
- CI_PORT='9091'
2625
- CI_SSL='false'
2726
- CI_DELAY='120'
28-
- CI_DOCKERENV='TZ=US/Pacific'
29-
- CI_AUTH='user:password'
27+
- CI_DOCKERENV=''
28+
- CI_AUTH=''
3029
- CI_WEBPATH=''

readme-vars.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,25 @@ project_url: "https://www.transmissionbt.com/"
66
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/transmission.png"
77
project_blurb: "[{{ project_name|capitalize }}]({{ project_url }}) is designed for easy, powerful use. Transmission has the features you want from a BitTorrent client: encryption, a web interface, peer exchange, magnet links, DHT, µTP, UPnP and NAT-PMP port forwarding, webseed support, watch directories, tracker editing, global and per-torrent speed limits, and more."
88
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
9-
project_blurb_optional_extras_enabled: false
109

1110
# supported architectures
1211
available_architectures:
1312
- { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
1413
- { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
1514

16-
# development version
17-
development_versions: false
18-
1915
# container parameters
2016
common_param_env_vars_enabled: true
2117
param_container_name: "{{ project_name }}"
22-
param_usage_include_net: false
23-
param_usage_include_env: true
24-
param_env_vars:
25-
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London." }
2618
param_usage_include_vols: true
2719
param_volumes:
28-
- { vol_path: "/config", vol_host_path: "/path/to/data", desc: "Where transmission should store config files and logs." }
20+
- { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/data", desc: "Where transmission should store config files and logs." }
2921
- { vol_path: "/downloads", vol_host_path: "/path/to/downloads", desc: "Local path for downloads." }
3022
- { vol_path: "/watch", vol_host_path: "/path/to/watch/folder", desc: "Watch folder for torrent files." }
3123
param_usage_include_ports: true
3224
param_ports:
3325
- { external_port: "9091", internal_port: "9091", port_desc: "WebUI" }
3426
- { external_port: "51413", internal_port: "51413", port_desc: "Torrent Port TCP" }
3527
- { external_port: "51413", internal_port: "51413/udp", port_desc: "Torrent Port UDP" }
36-
param_device_map: false
37-
cap_add_param: false
3828

3929
# optional container parameters
4030
opt_param_usage_include_env: true
@@ -45,11 +35,6 @@ opt_param_env_vars:
4535
- { env_var: "WHITELIST", env_value: "", desc: "Specify an optional list of comma separated ip whitelist. Fills rpc-whitelist setting."}
4636
- { env_var: "PEERPORT", env_value: "", desc: "Specify an optional port for torrent TCP/UDP connections. Fills peer-port setting."}
4737
- { env_var: "HOST_WHITELIST", env_value: "", desc: "Specify an optional list of comma separated dns name whitelist. Fills rpc-host-whitelist setting."}
48-
opt_param_usage_include_vols: false
49-
opt_param_usage_include_ports: false
50-
opt_param_device_map: false
51-
opt_cap_add_param: false
52-
optional_block_1: false
5338

5439
# application setup block
5540
app_setup_block_enabled: true
@@ -73,9 +58,9 @@ app_setup_block: |
7358
Use `WHITELIST` to enable a list of ip as whitelist. This enable support for `rpc-whitelist`. When `WHITELIST` is empty support for whitelist is disabled.
7459
7560
Use `HOST_WHITELIST` to enable an list of dns names as host-whitelist. This enable support for `rpc-host-whitelist`. When `HOST_WHITELIST` is empty support for host-whitelist is disabled.
76-
61+
7762
## Use alternative Transmission torrent ports
78-
63+
7964
Use `PEERPORT` to specify the port(s) Transmission should listen on. This disables random port selection. This should be the same as the port mapped in your docker configuration.
8065
8166
# changelog

0 commit comments

Comments
 (0)