aboutsummaryrefslogtreecommitdiff
path: root/Docker/Dockerfile-Oldest
diff options
context:
space:
mode:
authorGravatar Aaron Schif <aaronschif@gmail.com> 2023-06-12 03:22:46 -0500
committerGravatar GitHub <noreply@github.com> 2023-06-12 10:22:46 +0200
commit58b254f9cb923d5d0dfe53df4bca8a0f00bbcf0b (patch)
treeccd368d81044a38d1b2713e67f3faff6ada865b9 /Docker/Dockerfile-Oldest
parent15d143989b8ed1f73f1c574b03e03d4f4c820b11 (diff)
Add OpenID Connect (#5351)
* Add OIDC * Update documentation. * Update apache conf adding IfModule * Use IfDefine for OIDC in apache conf * Fix non-oidc support * Fix typing * Use IfDefine to enable OIDC * Add OIDC support to all dockerfiles * Re add apache Require option * Fixes and documentation * A few more fixes * A bit more doc * Change type of environment variable * Update readme * Correct apache config for OIDC support. * Fix README formatting * Update oidc control path * Fix oidc endpoint being cached * A bit more review * Simplify ExpiresActive * Add session refresh and improve caching * Allow more different setups * A bit more documentation * A bit more readme --------- Co-authored-by: Aaron Schif <aschif@netdevgroup.com> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> Co-authored-by: maTh <math-home@web.de>
Diffstat (limited to 'Docker/Dockerfile-Oldest')
-rw-r--r--Docker/Dockerfile-Oldest3
1 files changed, 2 insertions, 1 deletions
diff --git a/Docker/Dockerfile-Oldest b/Docker/Dockerfile-Oldest
index 11dd34a65..88d02b512 100644
--- a/Docker/Dockerfile-Oldest
+++ b/Docker/Dockerfile-Oldest
@@ -55,10 +55,11 @@ ENV CRON_MIN ''
ENV DATA_PATH ''
ENV FRESHRSS_ENV ''
ENV LISTEN ''
+ENV OIDC_ENABLED ''
ENTRYPOINT ["./Docker/entrypoint.sh"]
EXPOSE 80
# hadolint ignore=DL3025
CMD ([ -z "$CRON_MIN" ] || crond -d 6) && \
- exec httpd -D FOREGROUND
+ exec httpd -D FOREGROUND $([ -n "$OIDC_ENABLED" ] && [ "$OIDC_ENABLED" -ne 0 ] && echo '-D OIDC_ENABLED')