Set default themes

This commit is contained in:
Philip Peterson 2026-05-01 04:42:53 -07:00
parent 79a9512320
commit 6918baaa7b

View file

@ -39,6 +39,11 @@ else
$DRUSH en -y symfony_mailer $DRUSH en -y symfony_mailer
echo "[entrypoint] Modules enabled." echo "[entrypoint] Modules enabled."
echo "[entrypoint] Setting themes..."
$DRUSH theme:enable olivero claro
$DRUSH config:set system.theme default olivero -y
$DRUSH config:set system.theme admin claro -y
echo "[entrypoint] Themes set."
if ls /var/www/html/config/sync/*.yml >/dev/null 2>&1; then if ls /var/www/html/config/sync/*.yml >/dev/null 2>&1; then
echo "[entrypoint] Importing configuration from sync dir..." echo "[entrypoint] Importing configuration from sync dir..."
@ -46,5 +51,6 @@ else
fi fi
fi fi
echo "[entrypoint] Starting services..." echo "[entrypoint] Starting services..."
exec supervisord -c /etc/supervisor/conf.d/supervisord.conf exec supervisord -c /etc/supervisor/conf.d/supervisord.conf