Skip to content

Bind demo and test services to localhost - #146

Merged
tonibergholm-codento merged 1 commit into
mainfrom
demo-localhost-binds
Nov 20, 2026
Merged

tonibergholm-codento merged 1 commit into
mainfrom
demo-localhost-binds

Conversation

@tonibergholm-codento

Copy link
Copy Markdown
Collaborator

The demo and test compose files published Postgres (with the agentic:agentic login) and fake-gcs on every network interface, so anyone on the same network could connect while the demo ran. The cert script also hard-coded a contact email.

Every published port now binds to 127.0.0.1. All consumers already connect through localhost. website/deploy/finish-certs.sh reads the certbot address from a required CERT_EMAIL variable and stops with a clear message when it is unset.

Proof: docker compose config shows host_ip: 127.0.0.1 for all three files. The demo Postgres answers on 127.0.0.1 and not on the machine's LAN address. The script exits 1 before doing anything when CERT_EMAIL is unset.

Reviewed with sol-loop: 1 round with gpt-6.2-sol. Sol verdict: approved

Created with Claude Opus 5.5 and Claude Sonnet 5.5 in Claude Code.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2809110d-566e-4df5-ab3c-193bc327b9b3
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T07:21:14.961272Z eac89c2 New commits
🔒 Security Review ✅ Completed 2026-11-20T07:22:47.182687Z eac89c2 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

…ls from cert script

The demo Postgres (credentials agentic:agentic), the test Postgres and
fake-gcs published their ports on all interfaces. Publish them on
127.0.0.1 only; every consumer already connects via localhost.

website/deploy/finish-certs.sh hard-coded the contact email and the
name of a personal server. The email now comes from the required
CERT_EMAIL variable, which fails fast when unset, and the hostname is
removed from the header comment.
@tonibergholm-codento
tonibergholm-codento merged commit 26add80 into main Nov 20, 2026
16 checks passed

This branch was successfully deployed

1 active deployment
website-preview — eac89c2e Deployed Nov 20, 2026 by tonibergholm-codento via deploy #13
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