mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-25 18:21:51 +02:00
Update Dockerfile
This commit is contained in:
@@ -35,10 +35,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
|
||||||
# use /data instead of /config for hass.io environment
|
# use /data instead of /config for hass.io environment
|
||||||
&& grep -rl '/config' /etc/cont-init.d/* | xargs sed -i "" 's=/config=/data=g' \
|
# && grep -rl '/config' /etc/cont-init.d/* | xargs sed -i "" 's=/config=/data=g' \
|
||||||
&& grep -rl '/config' /etc/system.d/* | xargs sed -i "" 's=/config=/data=g' \
|
# && grep -rl '/config' /etc/system.d/* | xargs sed -i "" 's=/config=/data=g' \
|
||||||
&& grep -rl '/config' /defaults/* | xargs sed -i "" 's=/config=/data=g'
|
# && grep -rl '/config' /defaults/* | xargs sed -i "" 's=/config=/data=g'
|
||||||
|
|
||||||
VOLUME [ "/data" ]
|
VOLUME [ "/data" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user