From 2c495ab32a0f2a894a30ecd2e992dece64a61050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Tonh=C3=A4user?= Date: Mon, 10 Aug 2026 23:31:19 +0200 Subject: [PATCH] fix(env): correct DATABASE_URL host in .env.example to portal-db The compose database service is named portal-db, but .env.example shipped DATABASE_URL pointing at host 'postgres'. Copying the example and changing only the password left deployments resolving an unreachable host (EAI_AGAIN postgres), while the spinner hid the failed migrate and a stale portal-db-data volume made it look applied. Co-Authored-By: Claude --- .env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 55b6083..a923587 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,5 @@ # Portal database (separate from Immich) -DATABASE_URL=postgres://portal:change-me@postgres:5432/portal +DATABASE_URL=postgres://portal:change-me@portal-db:5432/portal # Better Auth — production public URL. For local dev, set http://localhost:3000 in .env BETTER_AUTH_SECRET=replace-with-a-long-random-secret