Adjust freshrss settings
- Extend session duration - Configure background jobs
This commit is contained in:
parent
c8a545c047
commit
da696836a8
3 changed files with 12 additions and 0 deletions
|
@ -4,6 +4,8 @@ argument_specs:
|
||||||
options:
|
options:
|
||||||
tz:
|
tz:
|
||||||
type: str
|
type: str
|
||||||
|
cron_min:
|
||||||
|
type: str
|
||||||
oidc_enabled:
|
oidc_enabled:
|
||||||
type: int
|
type: int
|
||||||
oidc_provider_metadata_url:
|
oidc_provider_metadata_url:
|
||||||
|
@ -20,3 +22,7 @@ argument_specs:
|
||||||
type: str
|
type: str
|
||||||
oidc_x_forwarded_headers:
|
oidc_x_forwarded_headers:
|
||||||
type: str
|
type: str
|
||||||
|
oidc_session_inactivity_timeout:
|
||||||
|
type: int
|
||||||
|
oidc_session_max_duration:
|
||||||
|
type: int
|
||||||
|
|
|
@ -13,12 +13,15 @@
|
||||||
image: freshrss/freshrss:1.24.3
|
image: freshrss/freshrss:1.24.3
|
||||||
env:
|
env:
|
||||||
TZ: "{{ tz }}"
|
TZ: "{{ tz }}"
|
||||||
|
CRON_MIN: "{{ cron_min }}"
|
||||||
OIDC_ENABLED: "{{ oidc_enabled | string }}"
|
OIDC_ENABLED: "{{ oidc_enabled | string }}"
|
||||||
OIDC_PROVIDER_METADATA_URL: "{{ oidc_provider_metadata_url }}"
|
OIDC_PROVIDER_METADATA_URL: "{{ oidc_provider_metadata_url }}"
|
||||||
OIDC_CLIENT_ID: "{{ oidc_client_id }}"
|
OIDC_CLIENT_ID: "{{ oidc_client_id }}"
|
||||||
OIDC_CLIENT_SECRET: "{{ oidc_client_secret }}"
|
OIDC_CLIENT_SECRET: "{{ oidc_client_secret }}"
|
||||||
OIDC_CLIENT_CRYPTO_KEY: "{{ oidc_client_crypto_key }}"
|
OIDC_CLIENT_CRYPTO_KEY: "{{ oidc_client_crypto_key }}"
|
||||||
OIDC_REMOTE_USER_CLAIM: "{{ oidc_remote_user_claim }}"
|
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_SCOPES: "{{ oidc_scopes }}"
|
||||||
OIDC_X_FORWARDED_HEADERS: "{{ oidc_x_forwarded_headers }}"
|
OIDC_X_FORWARDED_HEADERS: "{{ oidc_x_forwarded_headers }}"
|
||||||
networks:
|
networks:
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
tz: Asia/Yekaterinburg
|
tz: Asia/Yekaterinburg
|
||||||
|
cron_min: 11,41
|
||||||
oidc_enabled: 0
|
oidc_enabled: 0
|
||||||
oidc_provider_metadata_url: ""
|
oidc_provider_metadata_url: ""
|
||||||
oidc_client_id: ""
|
oidc_client_id: ""
|
||||||
|
@ -7,3 +8,5 @@ oidc_client_crypto_key: ""
|
||||||
oidc_remote_user_claim: preferred_username
|
oidc_remote_user_claim: preferred_username
|
||||||
oidc_scopes: openid profile email
|
oidc_scopes: openid profile email
|
||||||
oidc_x_forwarded_headers: X-Forwarded-Proto
|
oidc_x_forwarded_headers: X-Forwarded-Proto
|
||||||
|
oidc_session_inactivity_timeout: 21600 # 6 hours
|
||||||
|
oidc_session_max_duration: 86400 # 24 hours
|
||||||
|
|
Loading…
Reference in a new issue