mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update Dockerfile
This commit is contained in:
@@ -47,13 +47,16 @@ RUN \
|
||||
&& sed -i \
|
||||
-e 's/upload_max_filesize=1024M/upload_max_filesize=10240M/g' \
|
||||
-e 's/post_max_size=1024M/post_max_size=10240M/g' \
|
||||
/etc/php7/php.ini \
|
||||
/etc/php*/php.ini \
|
||||
&& sed -i "s|client_max_body_size 512M;|client_max_body_size 10240M;|g" /defaults/default \
|
||||
# Correct ssl path
|
||||
&& sed -i "s|/data/config/keys|/ssl/nextcloud/keys|g" /defaults/default \
|
||||
# Correct initial directory
|
||||
&& sed -i "s|/data|%%datadirectory%%|g" /defaults/config.php
|
||||
|
||||
RUN \
|
||||
# Correct ssl path
|
||||
sed -i "s|/data/config/keys|/ssl/nextcloud/keys|g" /defaults/default \
|
||||
&& sed -i "s|/data/config/keys|/ssl/nextcloud/keys|g" /root/defaults/nginx/site-confs/default.conf.sample
|
||||
|
||||
##################
|
||||
# 3 Install apps #
|
||||
##################
|
||||
|
||||
Reference in New Issue
Block a user