feat: move to php83
All checks were successful
web/docker-ttrss/pipeline/head This commit looks good

This commit is contained in:
Julien Cabillot
2025-01-05 10:17:04 -05:00
parent a3f0ebfcd4
commit 7d141bb3b2
11 changed files with 13 additions and 14 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 -f /usr/bin/php
ln -s /usr/bin/php7 /usr/bin/php
ln -s /usr/bin/php83 /usr/bin/php
rm -f /usr/sbin/php-fpm
ln -s /usr/sbin/php-fpm7 /usr/sbin/php-fpm
ln -s /usr/sbin/php-fpm83 /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

@@ -33,10 +33,9 @@ http {
server
{
listen 4443;
listen 4443 ssl;
root /var/www/ttrss;
ssl on;
ssl_certificate /etc/ssl/certs/ttrss.crt;
ssl_certificate_key /etc/ssl/private/ttrss.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;

0
root/etc/services.d/nginx/run Normal file → Executable file
View File

0
root/etc/services.d/php/run Normal file → Executable file
View File

0
root/etc/services.d/ttrss-daemon/run Normal file → Executable file
View File

0
root/etc/services.d/ttrss-updater/run Normal file → Executable file
View 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/php83 /var/lib/nginx /etc/services.d; do
chown -R ${MY_ROOT_UID}:${MY_ROOT_GID} ${CUR_DIR}
done