Skip to content

Commit 29a139f

Browse files
feat(config): add missing env vars to v24.04 from config.sample.php and config.apps.sample.php (#475)
* feat(config): add missing env vars from config.sample.php and config.apps.sample.php Expose additional ownCloud configuration parameters as OWNCLOUD_* environment variables, covering options from both config/config.sample.php and config/config.apps.sample.php that were previously only configurable by manually editing config.php. New variables cover: user/auth settings, mail, proxy, trash bin, file versioning, logging, previews, DAV, sharing, file storage, security, app management, antivirus, PDF viewer, firstrun wizard client URLs, LDAP, metrics, Collabora, WOPI/Office Online, workflow retention, and more. Also hardcodes `web-updater.enabled = false` as Docker installs upgrade by pulling a new image rather than using the in-app web updater. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com> * fix(config): fix comment typo and alphabetical ordering in ENVIRONMENT.md - Fix wrong comment '// app: activity' -> '// app: admin_audit' in config.php - Fix alphabetical ordering of new env vars in ENVIRONMENT.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com> * feat(config): add OWNCLOUD_REDIS_TLS_* env vars for Redis TLS connections Expose the full set of phpredis connection_parameters stream context options as OWNCLOUD_REDIS_TLS_* env vars, enabling TLS/mTLS connections to Redis without manually editing config.php. Single-server: options placed under redis.connection_parameters.stream.* Cluster: options placed flat in redis.cluster.connection_parameters.* (difference follows phpredis/ownCloud upstream structure) New variables: OWNCLOUD_REDIS_TLS_CAFILE, OWNCLOUD_REDIS_TLS_CAPATH, OWNCLOUD_REDIS_TLS_LOCAL_CERT, OWNCLOUD_REDIS_TLS_LOCAL_PK, OWNCLOUD_REDIS_TLS_PASSPHRASE, OWNCLOUD_REDIS_TLS_CIPHERS, OWNCLOUD_REDIS_TLS_PEER_NAME, OWNCLOUD_REDIS_TLS_VERIFY_PEER, OWNCLOUD_REDIS_TLS_VERIFY_PEER_NAME, OWNCLOUD_REDIS_TLS_ALLOW_SELF_SIGNED Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com> * feat(config): remove memcache env vars from v24.04 The Docker image does not ship a memcached client library, so the OWNCLOUD_MEMCACHED_* and OWNCLOUD_MEMCACHE_* env vars are dead config. Remove the full memcached branch from config.php, the declarations from 20-memcached.sh, 45-caching.sh, and 85-others.sh, and the entries from ENVIRONMENT.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com> * feat(config): restore OWNCLOUD_MEMCACHE_LOCAL env var OWNCLOUD_MEMCACHE_LOCAL controls the local memory cache backend (APCu by default) which is unrelated to the memcached service — it was incorrectly removed together with the memcached-specific vars. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com> --------- Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 45bf785 commit 29a139f

5 files changed

Lines changed: 518 additions & 56 deletions

File tree

0 commit comments

Comments
 (0)