1
0
mirror of https://github.com/x86dev/docker-ttrss synced 2025-12-30 02:01:33 +00:00

More build fixes; upgraded to PHP 8.1. We stay on an old(er) version of s6 now, as this needs more work first.

This commit is contained in:
x86dev
2023-10-26 21:49:33 +02:00
parent d2f5a5ae08
commit a1cc7716a8
7 changed files with 14 additions and 29 deletions

4
root/etc/cont-init.d/50-php Normal file → Executable file
View File

@@ -4,7 +4,7 @@
# regardless of how the package maintainer(s) named those.
rm /usr/bin/php
ln -s /usr/bin/php7 /usr/bin/php
ln -s /usr/bin/php81 /usr/bin/php
rm /usr/sbin/php-fpm
ln -s /usr/sbin/php-fpm7 /usr/sbin/php-fpm
ln -s /usr/sbin/php-fpm81 /usr/sbin/php-fpm

0
root/etc/cont-init.d/98-wait-for-db Normal file → Executable file
View File

0
root/etc/cont-init.d/99-ttrss Normal file → Executable file
View File

View File

@@ -1,19 +0,0 @@
[global]
daemonize = no
[www]
user = www-data
listen.owner = www-data
listen.group = www-data
listen = /tmp/php-fpm.sock
pm = dynamic
pm.max_children = 15
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 6
chdir = /var/www/ttrss/
request_terminate_timeout = 0
env[PATH] = /usr/local/bin:/usr/bin:/bin
php_admin_value[max_execution_time] = 10800
php_admin_value[max_input_time] = 3600
php_admin_value[expose_php] = Off

0
root/srv/start-ttrss.sh Normal file → Executable file
View File

2
root/srv/update-ttrss.sh Normal file → Executable file
View File

@@ -60,7 +60,7 @@ update_common()
fi
echo "Updating: Updating permissions"
for CUR_DIR in /etc/nginx /etc/php7 /var/lib/nginx /etc/services.d; do
for CUR_DIR in /etc/nginx /etc/php81 /var/lib/nginx /etc/services.d; do
chown -R ${MY_ROOT_UID}:${MY_ROOT_GID} ${CUR_DIR}
done