nextcloud: remove fix and add themes volumes

This commit is contained in:
Wonderfall
2017-03-12 22:33:12 +01:00
parent 4b47aecbd6
commit afdb943da2
5 changed files with 6 additions and 7 deletions

View File

@ -100,7 +100,7 @@ COPY s6.d /etc/s6.d
RUN chmod +x /usr/local/bin/* /etc/s6.d/*/* /etc/s6.d/.s6-svscan/*
VOLUME /data /config /apps2
VOLUME /data /config /apps2 /nextcloud/themes
EXPOSE 8888

View File

@ -10,8 +10,6 @@ sed -i -e "s/<UPLOAD_MAX_SIZE>/$UPLOAD_MAX_SIZE/g" /etc/nginx/nginx.conf /etc/ph
ln -sf /config/config.php /nextcloud/config/config.php &>/dev/null
ln -sf /apps2 /nextcloud &>/dev/null
mv nextcloud fix && mv fix nextcloud # fix strange bug
# Create folder for php sessions if not exists
if [ ! -d /data/session ]; then
mkdir -p /data/session;