Fix logo usage

This commit is contained in:
2026-09-18 09:31:07 +03:00
parent 1cb805fdc7
commit 046abbc830
3 changed files with 9 additions and 1 deletions
+2
View File
@@ -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:
+2 -1
View File
@@ -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:
+5
View File
@@ -0,0 +1,5 @@
<?php
$config['skin_logo'] = [
'login' => 'static.php/skins/eternity/images/logo.svg',
];