mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-02 07:05:42 +00:00
nextcloud: remove fix and add themes volumes
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user