From 046abbc8301a7954b1649be316fc4e56fb49f5fc Mon Sep 17 00:00:00 2001 From: Tero Date: Fri, 18 Sep 2026 09:31:07 +0300 Subject: [PATCH] Fix logo usage --- README.md | 2 ++ docker-compose.yml | 3 ++- roundcube-config/eternity-logo.php | 5 +++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 roundcube-config/eternity-logo.php diff --git a/README.md b/README.md index 8cfda7a..b76c758 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,8 @@ The default configuration expects the skin at: relative to this repository. Override the location in `.env` with `ROUNDCUBE_SKIN_PATH` if needed. The skin directory is mounted read-only and selected with `ROUNDCUBE_SKIN_NAME`. +The bundled `roundcube-config/eternity-logo.php` override sets the login logo to the Eternity skin's `images/logo.svg` through Roundcube's `static.php` asset endpoint. This is required because Eternity inherits Elastic's login template, which would otherwise display Elastic's default logo. Keep this file and its mount in `docker-compose.yml` when using the Eternity skin. + ## Start and stop Validate the rendered configuration: diff --git a/docker-compose.yml b/docker-compose.yml index 124d3f7..e93597f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -77,7 +77,8 @@ services: - "${ROUNDCUBE_BIND-127.0.0.1}:${ROUNDCUBE_PORT:-8091}:80" volumes: - - ${DATA_ROOT:-/opt/eternitymail}/roundcube-config:/var/roundcube/config:ro + - ${DATA_ROOT:-/opt/eternitymail}/roundcube-config:/var/roundcube/config + - ./roundcube-config/eternity-logo.php:/var/roundcube/config/eternity-logo.php:ro - ${ROUNDCUBE_SKIN_PATH:-../ep-roundcube-skin/eternity}:/var/www/html/skins/${ROUNDCUBE_SKIN_NAME:-eternity}:ro environment: diff --git a/roundcube-config/eternity-logo.php b/roundcube-config/eternity-logo.php new file mode 100644 index 0000000..80ac6af --- /dev/null +++ b/roundcube-config/eternity-logo.php @@ -0,0 +1,5 @@ + 'static.php/skins/eternity/images/logo.svg', +]; \ No newline at end of file