diff options
| author | 2021-03-04 21:18:34 +0100 | |
|---|---|---|
| committer | 2021-03-04 21:18:34 +0100 | |
| commit | 27c4194c8e1c4470ca746f83030e3ad366c7ffcb (patch) | |
| tree | a603232cd4c79b76f1b25da7ba685c4a946d7342 /Docker/entrypoint.sh | |
| parent | be8dd8598ef09d11b79b11c8b8cff04d0bd3f2de (diff) | |
Disable built-in update when using Docker (#3496)
#fix https://github.com/FreshRSS/FreshRSS/issues/3495
Diffstat (limited to 'Docker/entrypoint.sh')
| -rwxr-xr-x | Docker/entrypoint.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Docker/entrypoint.sh b/Docker/entrypoint.sh index 87c0a0f85..7043cf153 100755 --- a/Docker/entrypoint.sh +++ b/Docker/entrypoint.sh @@ -6,6 +6,9 @@ find /etc/php*/ -type f -name php.ini -exec sed -r -i "\\#^;?date.timezone#s#^.* find /etc/php*/ -type f -name php.ini -exec sed -r -i "\\#^;?post_max_size#s#^.*#post_max_size = 32M#" {} \; find /etc/php*/ -type f -name php.ini -exec sed -r -i "\\#^;?upload_max_filesize#s#^.*#upload_max_filesize = 32M#" {} \; +# Disable built-in updates when using Docker, as the full image is supposed to be updated instead. +sed -r -i "\\#disable_update#s#^.*#\t'disable_update' => true,#" ./config.default.php + if [ -n "$LISTEN" ]; then find /etc/apache2/ -type f -name FreshRSS.Apache.conf -exec sed -r -i "\\#^Listen#s#^.*#Listen $LISTEN#" {} \; fi |
