build(docker): add web, control-center in docker-compose
Added hyperswitch-web and hyperswitch-control-center in docker-compose
Type of Change
- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Description
Two new services were added to start the SDK, demo, and control center automatically within docker-compose.
Solves #4110
Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [x] This PR modifies application configuration/environment variables
Thanks for the PR, @Dhanus3133!
Also, how is the user expected to configure the publishable and API keys, and the remaining URLs?
Resolved it.
I noticed that one of the PRs closely mirrors mine. Just wanted to bring this matter to your attention.
@SanchithHegde do you know why this happens?
@SanchithHegde do you know why this happens?
If you're running the web client and demo app within a Docker container, and use localhost:8080 as server URL, the web client / demo app would try to access a service running at port 8080 within the container itself, not on the host machine. You'd need to understand the intricacies of Docker networking, and then go with a suitable, clean approach for solving this.