FreshRSS (RSS) ¶
Pour gérer ses flux RSS.
Tutos suivis : https://github.com/FreshRSS/FreshRSS/tree/edge/Docker, https://github.com/FreshRSS/FreshRSS/blob/edge/README.md#apis--native-apps
Application Android : https://github.com/readrops/Readrops, aussi dispo sur F-Droid.
Commandes à exécuter :
cd /opt/stacks
sudo mkdir freshrss
cd freshrss
sudo mkdir data
sudo mkdir extensions
sudo nano .env
sudo nano compose.yaml
docker compose up -d
Mon fichier compose.yaml
services:
freshrss:
image: freshrss/freshrss:latest
container_name: freshrss
restart: unless-stopped
logging:
options:
max-size: 10m
ports:
# If you want to open a port 8080 on the local machine:
- "8083:80"
volumes:
# Recommended volume for FreshRSS persistent data such as configuration and SQLite databases
- ./data:/var/www/FreshRSS/data
# Optional volume for storing third-party extensions
- ./extensions:/var/www/FreshRSS/extensions
# Optional file providing custom global settings (used before a FreshRSS install)
- ./config.custom.php:/var/www/FreshRSS/data/config.custom.php
# Optional file providing custom user settings (used before a new user is created)
- ./config-user.custom.php:/var/www/FreshRSS/data/config-user.custom.php
environment:
# A timezone http://php.net/timezones (default is UTC)
TZ: Europe/Paris
# Cron job to refresh feeds at specified minutes
CRON_MIN: '2,32'
# 'development' for additional logs; default is 'production'
# FRESHRSS_ENV: development
# Optional advanced parameter controlling the internal Apache listening port
# LISTEN: 0.0.0.0:80
# Optional parameter, remove for automatic settings, set to 0 to disable,
# or (if you use a proxy) to a space-separated list of trusted IP ranges
# compatible with https://httpd.apache.org/docs/current/mod/mod_remoteip.html#remoteipinternalproxy
# This impacts which IP address is logged (X-Forwarded-For or REMOTE_ADDR).
# This also impacts external authentication methods;
# see https://freshrss.github.io/FreshRSS/en/admins/09_AccessControl.html
TRUSTED_PROXY: 172.16.0.1/12 192.168.0.1/16
# Optional parameter, set to 1 to enable OpenID Connect (only available in our Debian image)
# Requires more environment variables. See https://freshrss.github.io/FreshRSS/en/admins/16_OpenID-Connect.html
# OIDC_ENABLED: 0
# Optional auto-install parameters (the Web interface install is recommended instead):
# ⚠️ Parameters below are only used at the very first run (so far).
# So if changes are made (or in .env file), first delete the service and volumes.
# ℹ️ All the --db-* parameters can be omitted if using built-in SQLite database.
FRESHRSS_INSTALL: |-
--api-enabled
--base-url ${BASE_URL}
--default-user admin
--language en
FRESHRSS_USER: |-
--api-password ${ADMIN_API_PASSWORD}
--email ${ADMIN_EMAIL}
--language fr
--password ${ADMIN_PASSWORD}
--user admin
Mon fichier .env
BASE_URL=https://freshrss.example.net
ADMIN_EMAIL=adminfreshrss@googlesaitouesttamere.com
ADMIN_PASSWORD=pwd
ADMIN_API_PASSWORD=pwd
# Published port if running locally
PUBLISHED_PORT=8083
# Database credentials (not relevant if using default SQLite database)
DB_HOST=freshrss-db
DB_BASE=freshrss
DB_PASSWORD=pwd
DB_USER=freshrss