freshrss
Installation Podman
podman pod create --name freshrss --restart=unless-stopped -p 127.0.0.1:7070:80
podman create --name freshrss-postgres-17-2-alpine --pod freshrss \
--restart=unless-stopped \
-v /srv/freshRss/podman-data/postgres:/var/lib/postgresql/data:Z \
-e POSTGRES_USER=freshrss \
-e POSTGRES_PASSWORD=freshrss \
-e POSTGRES_DB=freshrss \
postgres:17.2-alpine
podman create --pod freshrss \
-e TZ=Europe/Paris \
-e 'CRON_MIN=1,31' \
-e 'OIDC_ENABLED=1' \
-e 'OIDC_PROVIDER_METADATA_URL=https://auth.ppsfleet.navy/realms/Ppsfleet/.well-known/openid-configuration' \
-e 'OIDC_REMOTE_USER_CLAIM=preferred_username' \
-e 'OIDC_CLIENT_ID=freshrss' \
-e 'OIDC_CLIENT_SECRET=...' \
-e 'OIDC_CLIENT_CRYPTO_KEY=ploufploufplouf' \
-e 'OIDC_SCOPES=openid' \
-e 'OIDC_X_FORWARDED_HEADERS=X-Forwarded-Host X-Forwarded-Port X-Forwarded-Proto' \
-v /srv/freshRss/podman-data/data:/var/www/FreshRSS/data:Z \
-v /srv/freshRss/podman-data/extensions:/var/www/FreshRSS/extensions:Z \
--name freshrss \
freshrss/freshrss
Installation on host
Ne permet pas d'utiliser le SSO :/
useradd freshrss -m -s /usr/bin/fish -d /srv/freshRss/
mkdir /srv/freshRss/php-wsdlcache /srv/freshRss/php-opcache /srv/freshRss/php-session
semanage fcontext -a -t httpd_sys_script_exec_t '/srv/freshRss(/.*)?'
semanage fcontext -a -t httpd_sys_rw_content_t '/srv/freshRss/php-session(/.*)?'
semanage fcontext -a -t httpd_sys_rw_content_t '/srv/freshRss/php-wsdlcache(/.*)?'
semanage fcontext -a -t httpd_sys_rw_content_t '/srv/freshRss/php-opcache(/.*)?'
semanage fcontext -a -t httpd_sys_rw_content_t '/srv/freshRss/FreshRSS-(.*)/data(/.*)?'
semanage fcontext -a -t httpd_sys_rw_content_t '/srv/freshRss/logs(/.*)?'
cat /etc/php-fpm.d/freshrss.conf
listen = /run/php-fpm/freshrss.sock
php_admin_value[error_log] = /srv/freshRss/logs/php-fpm.error.log
php_admin_flag[log_errors] = on
php_admin_value[memory_limit] = 1024M
php_value[session.save_handler] = files
php_value[session.save_path] = /srv/freshRss/php-session
php_value[soap.wsdl_cache_dir] = /srv/freshRss/php-wsdlcache
;php_value[opcache.file_cache] = /srv/freshRss/php-opcache
Extension
https://github.com/aidistan/freshrss-extensions
https://github.com/christian-putzke/freshrss-pocket-button
Pas de commentaires