- Update to deluge 2.1.1 + Patch web base filename,
- Add P2P_WEB_PREFIX env variable support, - Move back web port to standard 8112, - Disable WebUi plugin and start Web daemon.
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -62,16 +62,25 @@ user=deluge
|
||||
environment=HOME='${DELUGE_HOME}
|
||||
#-----------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
#-----------------------------------------------------------------------------------------------------------------------
|
||||
ARG DELUGE_WEB_INI='[program:deluge_web] \n\
|
||||
directory='${DELUGE_HOME}' \n\
|
||||
command=/bin/bash -c `deluge-web --config '${DELUGE_CONFIG}' --base ${DELUGE_WEB_PREFIX} --do-not-daemonize` \n\
|
||||
user=deluge \n\
|
||||
environment=HOME='${DELUGE_HOME}
|
||||
#-----------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
RUN urpmi.update -a \
|
||||
&& urpmi --force deluge myip --no-recommends \
|
||||
&& useradd --home-dir ${DELUGE_HOME} --password "" deluge \
|
||||
&& mkdir ${DELUGE_SPOOL} \
|
||||
&& echo -e "${DELUGED}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/deluged \
|
||||
&& echo -e "${DELUGED}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/deluged \
|
||||
&& chmod a+x /etc/init.d/deluged \
|
||||
&& ln -s /etc/init.d/deluged /etc/rcD.d/S30deluged \
|
||||
&& echo -e "${DELUGED_INI}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/supervisord.d/deluged.ini
|
||||
&& echo -e "${DELUGED_INI}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/supervisord.d/deluged.ini \
|
||||
&& echo -e "${DELUGE_WEB_INI}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/supervisord.d/deluge_web.ini
|
||||
|
||||
ADD ${MODULE_PATH} ${DELUGE_CONFIG_TEMPLATE}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user