-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
good first issueGood for newcomersGood for newcomershacktoberfestIssues that are up for grabs for Hacktoberfest participantsIssues that are up for grabs for Hacktoberfest participants
Description
In docker-compose.yml
, critical services including:
hyperswitch-server
migration_runner
hyperswitch-producer
hyperswitch-consumer
hyperswitch-drainer
use standalone images from the stable release (standalone
tag) but mount local config files from the current branch:
volumes:
- ./config:/local/config
This creates a mismatch between stable images and branch-local configs. As a result:
- On branches ahead of
latest
(e.g.,main
), configs may include values not yet supported by the stable images - Critical services can fail to start (
hyperswitch-server
,migration_runner
, schedulers, drainer) - Users are unable to reliably run the stack using
docker-compose.yml
This directly impacts the user experience, as the documented Compose setup fails outside the latest
branch.
Solution
Update docker-compose.yml
so that it always uses config files from the latest
branch (stable release) instead of local configs.
docker-compose-development.yml
will continue to exist for local development where branch-local configs are needed.
Benefits of this change:
- Ensures
docker-compose.yml
works reliably on any branch - Prevents config–image mismatches that break critical services
- Provides users with a stable setup experience
- Keeps a clear separation between stable (
docker-compose.yml
) and development (docker-compose-development.yml
) use cases
Files to modify
docker-compose.yml
Verification Steps
-
On the
latest
branch:- Run
docker compose up
- Verify all critical services (
hyperswitch-server
,migration_runner
, producer, consumer, drainer) start successfully
- Run
-
On the
main
branch (ahead oflatest
):- Run
docker compose up
- Confirm services still start correctly, since configs are fetched from
latest
- Run
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershacktoberfestIssues that are up for grabs for Hacktoberfest participantsIssues that are up for grabs for Hacktoberfest participants