diff --git a/Dockerfile b/Dockerfile index 6fd741a..19a42f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,9 @@ if [[ ! -f '${DELUGE_CONFIG}'/auth ]] then \n\ cp -R '${DELUGE_CONFIG_TEMPLATE}'/* '${DELUGE_CONFIG}' \n\ \n\ + hash="$(head -c 256 /dev/urandom | base64 | tr -dc '0-9a-f' | cut -c1-41)" \n\ + echo "localclient:${hash}:10" >> '${DELUGE_CONFIG}'/auth \n\ + \n\ sed -e "s/DELUGE_PORT_BT_LOW/${DELUGE_PORT_BT_LOW}/" -i '${DELUGE_CONFIG}'/core.conf \n\ sed -e "s/DELUGE_PORT_BT_HIGH/${DELUGE_PORT_BT_HIGH}/" -i '${DELUGE_CONFIG}'/core.conf \n\ fi \n\ diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index bd11d03..1d363a1 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------------------------------------------------------------ -Rx3-Docker/Deluge V 1.0.0 - A. GIBERT - 2025/05/24 +Rx3-Docker/Deluge V 1.0.0 - A. GIBERT - 2025/05/25 ------------------------------------------------------------------------------------------------------------------------------------ - Initial release,