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 <noreply@anthropic.com>
This commit is contained in:
1 parent
5ebde42aba
commit
2c495ab32a
1 file changed
+1
-1
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
# Portal database (separate from Immich)
|
# 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 — production public URL. For local dev, set http://localhost:3000 in .env
|
||||||
BETTER_AUTH_SECRET=replace-with-a-long-random-secret
|
BETTER_AUTH_SECRET=replace-with-a-long-random-secret
|
||||||
|
|||||||
Reference in new issue
Block a user