From 58e78cd34d1d0f1d65f4cf5b7fe4d6e2ef424aa3 Mon Sep 17 00:00:00 2001 From: Admin Date: Sat, 28 Mar 2026 16:15:04 +0500 Subject: [PATCH] =?UTF-8?q?fix(infra):=20make=20MEILI=5FURL=20configurable?= =?UTF-8?q?;=20rename=20Discover=20=E2=86=92=20Catalogue=20in=20nav?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - docker-compose.yml: MEILI_URL in x-infra-env was hardcoded to the local meilisearch container, ignoring the Doppler MEILI_URL secret entirely. Changed to "${MEILI_URL:-http://meilisearch:7700}" so prod reads from https://search.libnovel.cc while local dev keeps the container default. - ui/+layout.svelte: rename nav + footer label from "Discover" to "Catalogue" (desktop nav, mobile menu, footer — all three occurrences). --- docker-compose.yml | 2 +- ui/src/routes/+layout.svelte | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index d749877..145102e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,7 @@ x-infra-env: &infra-env POCKETBASE_ADMIN_EMAIL: "${POCKETBASE_ADMIN_EMAIL}" POCKETBASE_ADMIN_PASSWORD: "${POCKETBASE_ADMIN_PASSWORD}" # Meilisearch - MEILI_URL: "http://meilisearch:7700" + MEILI_URL: "${MEILI_URL:-http://meilisearch:7700}" MEILI_API_KEY: "${MEILI_MASTER_KEY}" # Valkey VALKEY_ADDR: "valkey:6379" diff --git a/ui/src/routes/+layout.svelte b/ui/src/routes/+layout.svelte index 66b0530..ff8e248 100644 --- a/ui/src/routes/+layout.svelte +++ b/ui/src/routes/+layout.svelte @@ -244,7 +244,7 @@ href="/catalogue" class="hidden sm:block text-sm transition-colors {page.url.pathname.startsWith('/catalogue') ? 'text-zinc-100 font-medium' : 'text-zinc-400 hover:text-zinc-100'}" > - Discover + Catalogue (menuOpen = false)} class="px-3 py-2.5 rounded-lg text-sm font-medium transition-colors {page.url.pathname.startsWith('/catalogue') ? 'bg-zinc-800 text-zinc-100' : 'text-zinc-400 hover:bg-zinc-800 hover:text-zinc-100'}" > - Discover + Catalogue