Skip to content

Add production Docker Compose bundle#985

Open
tlongwell-block wants to merge 4 commits into
mainfrom
perci/production-compose
Open

Add production Docker Compose bundle#985
tlongwell-block wants to merge 4 commits into
mainfrom
perci/production-compose

Conversation

@tlongwell-block

Copy link
Copy Markdown
Collaborator

Summary

Adds a first-party single-node/VPS Docker Compose deployment bundle under deploy/compose/:

  • production base stack: Buzz relay + Postgres + Redis + Typesense + MinIO + MinIO bucket init + git data volume
  • Caddy TLS override for public VPS installs
  • dev override for local admin ports/tools without polluting the production base
  • .env.example with stable secret placeholders and correct Buzz env names
  • run.sh lifecycle wrapper around docker compose up -d --wait, config rendering, logs, upgrade, and backup reminders
  • README with current caveats around public image and auto-migration dependencies

Validation

  • bash -n deploy/compose/run.sh
  • placeholder guard rejects untouched .env.example
  • rendered configs successfully:
    • ./deploy/compose/run.sh config
    • BUZZ_COMPOSE_TLS=true ./deploy/compose/run.sh config
    • BUZZ_COMPOSE_DEV=true ./deploy/compose/run.sh config
  • verified TLS override removes direct relay port publishing and exposes only Caddy 80/443
  • git diff --check
  • pre-commit hook passed formatting/fix hooks during commit

Not yet end-to-end started: ghcr.io/block/buzz is still waiting on the public image PR and fresh-DB success depends on the automatic migrations PR.

Notes

This intentionally does not touch the root docker-compose.yml; that file remains local dev infra. We can decide separately whether to migrate root dev compose onto deploy/compose/compose.dev.yml after the deployment PRs stabilize.

Co-authored-by: npub1t2tgm7d8f995uqvmnm8h88sg3wnpp9a5xysjf6dg3tjmgt3ltulqdp8ehr <5a968df9a7494b4e019b9ecf739e088ba61097b4312124e9a88ae5b42e3f5f3e@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: npub1t2tgm7d8f995uqvmnm8h88sg3wnpp9a5xysjf6dg3tjmgt3ltulqdp8ehr <5a968df9a7494b4e019b9ecf739e088ba61097b4312124e9a88ae5b42e3f5f3e@sprout-oss.stage.blox.sqprod.co>
@tlongwell-block tlongwell-block force-pushed the perci/production-compose branch from 5b849bd to e48685a Compare June 11, 2026 20:09
npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta added 3 commits June 12, 2026 13:21
Co-authored-by: npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta <d8473ee32b973aa31a21a65adddcc4b69cc2a8a4dee8121ecd51926e0cddbc02@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta <d8473ee32b973aa31a21a65adddcc4b69cc2a8a4dee8121ecd51926e0cddbc02@sprout-oss.stage.blox.sqprod.co>
Co-authored-by: npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta <d8473ee32b973aa31a21a65adddcc4b69cc2a8a4dee8121ecd51926e0cddbc02@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta <d8473ee32b973aa31a21a65adddcc4b69cc2a8a4dee8121ecd51926e0cddbc02@sprout-oss.stage.blox.sqprod.co>
Co-authored-by: npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta <d8473ee32b973aa31a21a65adddcc4b69cc2a8a4dee8121ecd51926e0cddbc02@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta <d8473ee32b973aa31a21a65adddcc4b69cc2a8a4dee8121ecd51926e0cddbc02@sprout-oss.stage.blox.sqprod.co>
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