Compare commits

...

4 Commits
1 ... 3

Author SHA1 Message Date
sparklyballs 935142d4df Merge pull request #2 from sparklyballs/php-fix
always_populate_raw_post_data = -1 fix in php.ini
2016-07-05 15:04:54 +01:00
sparklyballs 22f3c83d5a always_populate_raw_post_data = -1 fix in php.ini 2016-07-05 14:51:42 +01:00
sparklyballs 5d386a8fe5 Merge pull request #1 from sparklyballs/startpermsfix
fix perms on start up
2016-07-01 11:16:35 +01:00
sparklyballs 71e8d86d9e fix perms on start up so upload limit can be set, make /data the default storage on first setup 2016-07-01 11:12:08 +01:00
3 changed files with 6 additions and 1 deletions
+3
View File
@@ -81,6 +81,9 @@ RUN \
# configure php for nextcloud
RUN \
sed -i \
's/;always_populate_raw_post_data = -1/always_populate_raw_post_data = -1/g' \
/etc/php5/php.ini && \
echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /defaults/nginx-fpm.conf
# add local files
+2 -1
View File
@@ -1,5 +1,6 @@
<?php
$CONFIG = array (
'memcache.local' => '\OC\Memcache\APCu',
'datadirectory' => '/data',
);
+1
View File
@@ -10,4 +10,5 @@ cd /tmp || true
unzip nextcloud.zip
mv /tmp/nextcloud "${NEXTCLOUD_PATH}"
rm -f /tmp/nextcloud.zip
chown abc:abc -R "${NEXTCLOUD_PATH}"
fi