mirror of
https://github.com/hoellen/dockerfiles.git
synced 2026-11-09 23:07:30 +00:00
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:
1 parent
1f7b934d36
commit
da78ba1175
3 files changed
+7
No files matched your search
@@ -12,6 +12,11 @@ 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;
|
||||
fi
|
||||
|
||||
echo "Updating permissions..."
|
||||
for dir in /nextcloud /data /config /apps2 /etc/nginx /etc/php7.1 /var/log /var/lib/nginx /tmp /etc/s6.d; do
|
||||
if $(find $dir ! -user $UID -o ! -group $GID|egrep '.' -q); then
|
||||
|
||||
Reference in new issue
Block a user