pubsub-emulator-ui icon indicating copy to clipboard operation
pubsub-emulator-ui copied to clipboard

feat: Allow server side configuration of pubsub

Open pedromarceOAT opened this issue 1 year ago • 9 comments

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

pedromarceOAT avatar Jan 03 '25 01:01 pedromarceOAT

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.

ralphv avatar Jan 11 '25 15:01 ralphv

@NeoScript @AlbertoMonteiro any chance we could merge this?

btiwaree avatar Feb 11 '25 11:02 btiwaree

It would be great to merge this. We need to be able to specify PUBSUB_EMULATOR_HOST too.

FYI @NeoScript 😊

gawbul avatar Feb 11 '25 18:02 gawbul

@NeoScript @AlbertoMonteiro What are the chances of this being merged? I need this feature.

charllysonsouza avatar Apr 03 '25 02:04 charllysonsouza

@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.

AlbertoMonteiro avatar Apr 03 '25 09:04 AlbertoMonteiro

@NeoScript, help us. Please 🙏.

spalenza avatar May 07 '25 23:05 spalenza

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?

JaSei avatar Jun 11 '25 12:06 JaSei

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.

ralphv avatar Jun 11 '25 12:06 ralphv

I understand. Thank you for explaining.

JaSei avatar Jun 11 '25 12:06 JaSei