Skip to content

deps: support postgres deployed sprue - #22

Merged
frrist merged 2 commits into
mainfrom
frrist/sprue/postgres
Apr 28, 2026
Merged

deps: support postgres deployed sprue#22
frrist merged 2 commits into
mainfrom
frrist/sprue/postgres

Conversation

@frrist

@frrist frrist commented Apr 23, 2026

Copy link
Copy Markdown
Member

depends on storacha/sprue#28

@frrist
frrist force-pushed the frrist/sprue/postgres branch from b170acd to e208229 Compare April 23, 2026 19:33
@frrist
frrist marked this pull request as ready for review April 23, 2026 19:34
The sprue postgres service added on this branch publishes its host
port via `${SMELT_UPLOAD_POSTGRES_PORT:-15061:5432}`. Without a
test-mode override the SDK stack falls back to the fixed 15061
binding, which collides with any running dev stack and fails tests
with "Bind for 0.0.0.0:15061 failed: port is already allocated".

Setting the var to just the container-side port (5432) makes compose
publish on an ephemeral host port, matching the pattern already used
for every other service in testmode_env.go.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@frrist
frrist merged commit ac16429 into main Apr 28, 2026
5 of 6 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.

2 participants