Skip to content

Make ports and container names configurable via env vars#29

Merged
AquiGorka merged 1 commit intomainfrom
feat/configurable-ports
Mar 20, 2026
Merged

Make ports and container names configurable via env vars#29
AquiGorka merged 1 commit intomainfrom
feat/configurable-ports

Conversation

@AquiGorka
Copy link
Copy Markdown
Contributor

Summary

  • All ports, container names, and Stellar account names in up.sh and down.sh are now overridable via env vars
  • Allows running multiple stacks in parallel without port collisions
  • Defaults unchanged for backwards compatibility

Example:

PG_PORT=5543 PROVIDER_PORT=4010 PG_CONTAINER=db-fresh ./up.sh
PG_PORT=5543 PROVIDER_PORT=4010 PG_CONTAINER=db-fresh ./down.sh

Test plan

  • E2E passed on custom ports (4010/4020/4030/4040/5543) alongside existing stack
  • down.sh with matching env vars correctly cleans up

Allows running multiple stacks in parallel by overriding ports and
names. All values default to the current hardcoded values for
backwards compatibility.
@AquiGorka AquiGorka merged commit 931aa36 into main Mar 20, 2026
1 check passed
@AquiGorka AquiGorka deleted the feat/configurable-ports branch March 20, 2026 18:44
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