Skip to content

fix(build): refactor docker install script - #2711

Merged
motunrayokoyejo merged 6 commits into
mainfrom
improve-install-script
Jul 27, 2026
Merged

fix(build): refactor docker install script#2711
motunrayokoyejo merged 6 commits into
mainfrom
improve-install-script

Conversation

@motunrayokoyejo

@motunrayokoyejo motunrayokoyejo commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Added/expanded install-local.sh to provide a smoother first-time local setup flow.
Installer now validates prerequisites (git, curl, docker, docker compose, Docker daemon).
Added robust repo setup handling


Note

Low Risk
Changes are limited to the local install script and gitignore; no runtime application or auth paths are modified.

Overview
Local Docker install no longer hard-fails when default ports are taken. install-local.sh picks HTTP, Postgres, and PgBouncer host ports from env (CONVOY_HTTP_PORT, etc.), falls back to free ports when needed, and warns instead of exiting.

It writes configs/local/docker-compose.install.generated.yml by substituting the standard publish mappings from the base compose file, patches configs/local/convoy.json host to match the chosen URL, and runs health checks and next-step hints against that URL. .gitignore now excludes the generated compose file and a legacy override path.

Warnings and errors go to stderr; stale override files from older installers are removed on run.

Reviewed by Cursor Bugbot for commit 6195490. Bugbot is set up for automated code reviews on this repo. Configure here.

Comment thread install-local.sh
Comment thread configs/local/convoy.json Outdated

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit ef8f00c. Configure here.

Comment thread install-local.sh
@cursor

cursor Bot commented Jul 27, 2026

Copy link
Copy Markdown

Current version of PR was reviewed by /review-bugbot on Jul 27, 12:53 GMT+1. It flagged 0 findings.

Bugbot on commit c3df046 is skipped.

@cursor

cursor Bot commented Jul 27, 2026

Copy link
Copy Markdown

Current version of PR was reviewed by /review-bugbot on Jul 27, 12:53 GMT+1. It flagged 0 findings.

Bugbot on commit e28a684 is skipped.

@motunrayokoyejo
motunrayokoyejo added this pull request to the merge queue Jul 27, 2026
Merged via the queue into main with commit 3e7b699 Jul 27, 2026
32 checks passed
@motunrayokoyejo
motunrayokoyejo deleted the improve-install-script branch July 27, 2026 14:46
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