Make Nextcloud Scaleable (#127)

* Add Session Save Path

* Update Dockerfile

* Make Nextcloud scaleable

* Use sed

* remove php.ini

* Update run.sh

* Update Dockerfile

* Update Dockerfile
This commit is contained in:
Berndinox
2017-02-22 20:03:48 +01:00
committed by Wonderfall
parent 1f7b934d36
commit da78ba1175
3 changed files with 7 additions and 0 deletions

View File

@ -77,6 +77,7 @@ RUN echo "@testing https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk
&& echo "extension=iconv.so" > /etc/php7.1/conf.d/00_iconv.ini \
&& echo "extension=smbclient.so" > /etc/php7.1/conf.d/00_smbclient.ini \
&& echo "extension=redis.so" > /etc/php7.1/conf.d/redis.ini \
&& sed -i 's|;session.save_path = "/tmp"|session.save_path = "/data/session"|g' /etc/php7.1/php.ini \
&& mkdir /nextcloud \
&& NEXTCLOUD_TARBALL="nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
&& wget -q https://download.nextcloud.com/server/releases/${NEXTCLOUD_TARBALL} \