Skip to content

Pass DATABASE_URL to edge in dev-up-all launcher#167

Merged
ozpool merged 1 commit into
mainfrom
fix/dev-up-database-url
May 29, 2026
Merged

Pass DATABASE_URL to edge in dev-up-all launcher#167
ozpool merged 1 commit into
mainfrom
fix/dev-up-database-url

Conversation

@ozpool
Copy link
Copy Markdown
Owner

@ozpool ozpool commented May 29, 2026

What

Follow-up to #166. The edge binary now requires DATABASE_URL, but scripts/dev-up-all.sh launched it with only PERPLEX_JWT_SECRET, so the edge Terminal window would fail to boot with "DATABASE_URL must be set".

Fix

Hand the edge the same Postgres URL the bundled docker-compose Postgres exposes (postgres://perplex:perplex@localhost:5432/perplex), inline on the launch line next to PERPLEX_JWT_SECRET.

Test

Ran the exact launch command against the local Postgres — edge boots, logs "postgres persistence enabled", and /v1/markets responds.

The edge binary now requires DATABASE_URL, but the local stack launcher
started it with only PERPLEX_JWT_SECRET, so the edge window failed to
boot. Hand it the same Postgres URL the bundled container exposes.
@ozpool ozpool merged commit 9fea0e0 into main May 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant