mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 16:45:56 +02:00
Update Dockerfile
This commit is contained in:
@@ -31,10 +31,10 @@ RUN \
|
|||||||
# Remove fixed folders, allows connection to webUI
|
# Remove fixed folders, allows connection to webUI
|
||||||
&& sed '11,13d' /defaults/qBittorrent.conf \
|
&& sed '11,13d' /defaults/qBittorrent.conf \
|
||||||
&& echo 'WebUI\HostHeaderValidation=false' >> /defaults/qBittorrent.conf \
|
&& echo 'WebUI\HostHeaderValidation=false' >> /defaults/qBittorrent.conf \
|
||||||
&& echo 'WebUI\LocalHostAuth=false' >> /defaults/qBittorrent.conf \
|
&& echo 'WebUI\LocalHostAuth=false' >> /defaults/qBittorrent.conf
|
||||||
# && echo 'WebUI\Username=Homeassistant' >> /defaults/qBittorrent.conf \
|
# && echo 'WebUI\Username=Homeassistant' >> /defaults/qBittorrent.conf \
|
||||||
# use /data instead of /config for hass.io environment
|
# use /data instead of /config for hass.io environment
|
||||||
&& files=$(grep -rls '/config' /) && echo $files | xargs sed -i "s=/config=/data=g"
|
# && files=$(grep -rls '/config' /) && echo $files | xargs sed -i "s=/config=/data=g"
|
||||||
|
|
||||||
# Copy root filesystem
|
# Copy root filesystem
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|||||||
Reference in New Issue
Block a user