mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-18 21:39:12 +02:00
Update Dockerfile
This commit is contained in:
@@ -36,8 +36,9 @@ RUN \
|
|||||||
&& for file in $(grep -Esril "/downloads[ '\"/]|/downloads\$" /etc/logrotate.d /defaults /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d); do sed -i "s=/downloads=/share/resiliosync_downloads=g" "$file"; done \
|
&& for file in $(grep -Esril "/downloads[ '\"/]|/downloads\$" /etc/logrotate.d /defaults /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d); do sed -i "s=/downloads=/share/resiliosync_downloads=g" "$file"; done \
|
||||||
# Adapt sync.conf
|
# Adapt sync.conf
|
||||||
&& sed -i 's|"directory_root_policy" : "belowroot"|"directory_root_policy" : "all"|g' /defaults/sync.conf \
|
&& sed -i 's|"directory_root_policy" : "belowroot"|"directory_root_policy" : "all"|g' /defaults/sync.conf \
|
||||||
&& sed -i 's|"allow_empty_password" : false|"allow_empty_password" : true|g' /defaults/sync.conf \
|
&& sed -i 's|"allow_empty_password" : false|"allow_empty_password" : true|g' /defaults/sync.conf
|
||||||
&& sed -i 's|"dir_whitelist" : [ "|"dir_whitelist" : [ "/" "|g' /defaults/sync.conf
|
# \
|
||||||
|
# && sed -i 's|"dir_whitelist" : [ "|"dir_whitelist" : [ "/" "|g' /defaults/sync.conf
|
||||||
|
|
||||||
# Global LSIO modifications
|
# Global LSIO modifications
|
||||||
ARG CONFIGLOCATION="/share/resiliosync_config"
|
ARG CONFIGLOCATION="/share/resiliosync_config"
|
||||||
|
|||||||
Reference in New Issue
Block a user