Adjust freshrss settings

- Extend session duration
- Configure background jobs
This commit is contained in:
Ivan R. 2024-11-09 17:50:18 +05:00
parent c8a545c047
commit da696836a8
Signed by: lumin
GPG key ID: E0937DC7CD6D3817
3 changed files with 12 additions and 0 deletions

View file

@ -4,6 +4,8 @@ argument_specs:
options:
tz:
type: str
cron_min:
type: str
oidc_enabled:
type: int
oidc_provider_metadata_url:
@ -20,3 +22,7 @@ argument_specs:
type: str
oidc_x_forwarded_headers:
type: str
oidc_session_inactivity_timeout:
type: int
oidc_session_max_duration:
type: int

View file

@ -13,12 +13,15 @@
image: freshrss/freshrss:1.24.3
env:
TZ: "{{ tz }}"
CRON_MIN: "{{ cron_min }}"
OIDC_ENABLED: "{{ oidc_enabled | string }}"
OIDC_PROVIDER_METADATA_URL: "{{ oidc_provider_metadata_url }}"
OIDC_CLIENT_ID: "{{ oidc_client_id }}"
OIDC_CLIENT_SECRET: "{{ oidc_client_secret }}"
OIDC_CLIENT_CRYPTO_KEY: "{{ oidc_client_crypto_key }}"
OIDC_REMOTE_USER_CLAIM: "{{ oidc_remote_user_claim }}"
OIDC_SESSION_INACTIVITY_TIMEOUT: "{{ oidc_session_inactivity_timeout | string }}"
OIDC_SESSION_MAX_DURATION: "{{ oidc_session_max_duration | string }}"
OIDC_SCOPES: "{{ oidc_scopes }}"
OIDC_X_FORWARDED_HEADERS: "{{ oidc_x_forwarded_headers }}"
networks:

View file

@ -1,4 +1,5 @@
tz: Asia/Yekaterinburg
cron_min: 11,41
oidc_enabled: 0
oidc_provider_metadata_url: ""
oidc_client_id: ""
@ -7,3 +8,5 @@ oidc_client_crypto_key: ""
oidc_remote_user_claim: preferred_username
oidc_scopes: openid profile email
oidc_x_forwarded_headers: X-Forwarded-Proto
oidc_session_inactivity_timeout: 21600 # 6 hours
oidc_session_max_duration: 86400 # 24 hours