Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Allow to configure http and grpc ports #21

Closed
lcardito opened this issue Sep 22, 2021 · 2 comments
Closed

Allow to configure http and grpc ports #21

lcardito opened this issue Sep 22, 2021 · 2 comments

Comments

@lcardito
Copy link

Hey team!

Nice work on this one! A nice detail would be to allow the http and grpc ports to be configured from the env/command. The standard wiremock allows to override the command passing in the ports:

command: "--https-port 443 --port 9002"

Is this something we could look into?

Thanks!

@Adven27
Copy link
Owner

Adven27 commented Sep 29, 2021

Hey! Thank you for the improvement request. I'll look at what we can do about it.

@Adven27
Copy link
Owner

Adven27 commented Sep 29, 2021

Ports can be configured like this -e GRPC_SERVER_PORT=5555 -e WIREMOCK_PORT=0.
WireMock configuration options are described here https://github.com/Adven27/grpc-wiremock#2-configuring-wiremock-server

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants