Fix logo usage
This commit is contained in:
@@ -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`.
|
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
|
## Start and stop
|
||||||
|
|
||||||
Validate the rendered configuration:
|
Validate the rendered configuration:
|
||||||
|
|||||||
+2
-1
@@ -77,7 +77,8 @@ services:
|
|||||||
- "${ROUNDCUBE_BIND-127.0.0.1}:${ROUNDCUBE_PORT:-8091}:80"
|
- "${ROUNDCUBE_BIND-127.0.0.1}:${ROUNDCUBE_PORT:-8091}:80"
|
||||||
|
|
||||||
volumes:
|
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
|
- ${ROUNDCUBE_SKIN_PATH:-../ep-roundcube-skin/eternity}:/var/www/html/skins/${ROUNDCUBE_SKIN_NAME:-eternity}:ro
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$config['skin_logo'] = [
|
||||||
|
'login' => 'static.php/skins/eternity/images/logo.svg',
|
||||||
|
];
|
||||||
Reference in New Issue
Block a user