feat: Allow server side configuration of pubsub
Allow external configuration to be provided to configure URL of the pubsub emulator.
Needs to be provided as an environment variable in the docker container "PUBSUB_EMULATOR_HOST"
Should solve this issue https://github.com/NeoScript/pubsub-emulator-ui/issues/25
This is very important to make this image useful, especially when using in ephemeral testing environments using tools like garden.io please do merge this as soon as possible. Thank you.
@NeoScript @AlbertoMonteiro any chance we could merge this?
It would be great to merge this. We need to be able to specify PUBSUB_EMULATOR_HOST too.
FYI @NeoScript 😊
@NeoScript @AlbertoMonteiro What are the chances of this being merged? I need this feature.
@NeoScript @AlbertoMonteiro What are the chances of this being merged? I need this feature.
I can't do anything about that.
@NeoScript is the repo owner, only he can do it.
@NeoScript, help us. Please 🙏.
Hi, The author clearly doesn't like this PR because he is working on the repo, yet he hasn't commented here. In my opinion, this feature is crucial. What if we fork this repo with this feature and create a container as well?
I think the problem is not as simple as providing an env variable.The website doesn't have a way to pull data from backend, it's all purely frontend. I solved this issue manually by using multi stage builds and manually updating the endpoint in the build process. It's definitely not the right way of doing this but it unblocked me.
I understand. Thank you for explaining.