diff --git a/docker-compose.yml b/docker-compose.yml index a53c2b7..1d06031 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,6 +22,9 @@ services: LOCATION: Location FACILITY: Facility FACILITY_URL: http://localhost/ + LOGO_URL: https://github.com/hybula/lookingglass/ + LOGO: '

Company Looking Glass

' + LOGO_DARK: '

Company Looking Glass

' IPV4_ADDRESS: 127.0.0.1 IPV6_ADDRESS: ::1 MAPS_QUERY: Amsterdam diff --git a/docker/php-fpm/src/config.php b/docker/php-fpm/src/config.php index 6e46471..9194af5 100644 --- a/docker/php-fpm/src/config.php +++ b/docker/php-fpm/src/config.php @@ -5,11 +5,11 @@ use Hybula\LookingGlass; const LG_TITLE = 'Looking Glass'; // Define a logo, this can be HTML too, see the other example for an image; -const LG_LOGO = '

Company Looking Glass

'; -const LG_LOGO_DARK = '

Company Looking Glass

'; - -// Define the URL where the logo points to; -const LG_LOGO_URL = 'https://github.com/hybula/lookingglass/'; +define('LG_LOGO', getenv('LOGO')); +define('LG_LOGO_DARK', getenv('LOGO_DARK')); + + // Define the URL where the logo points to; +define('LG_LOGO_URL', getenv('LOGO_URL')); // Theme mode; const LG_THEME = 'auto';