Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pmoves/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ services:
supabase-db:
condition: service_healthy
ports:
- ${SUPABASE_REALTIME_PORT:-4000}:4000
- ${SUPABASE_REALTIME_PORT:-4010}:4000
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
networks:
- pmoves_api
- pmoves_data
Expand Down
4 changes: 2 additions & 2 deletions pmoves/tests/smoke/test_supabase_realtime_tenant.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def test_realtime_has_seed_self_host_enabled() -> None:
@pytest.mark.smoke
def test_realtime_jwt_secret_configured() -> None:
"""Verify Realtime JWT secret is configured."""
output = grep_context(COMPOSE_FILE, r"supabase-realtime:", after=30)
output = grep_context(COMPOSE_FILE, r"supabase-realtime:", after=55)
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
if not output:
pytest.skip("supabase-realtime service not found in docker-compose.yml")

Expand Down Expand Up @@ -203,7 +203,7 @@ def test_realtime_database_schema_exists() -> None:
@pytest.mark.smoke
def test_realtime_healthcheck_configured() -> None:
"""Verify Realtime has a healthcheck configured in docker-compose."""
output = grep_context(COMPOSE_FILE, r"supabase-realtime:", after=30)
output = grep_context(COMPOSE_FILE, r"supabase-realtime:", after=55)
assert output, "supabase-realtime service not found"

assert "healthcheck:" in output, (
Expand Down
Loading