bcgov / von-network

A portable development level Indy Node network.
Apache License 2.0
163 stars 188 forks source link

Cannot modify port number of web server #289

Closed ianco closed 10 months ago

ianco commented 10 months ago

Port number is hard coded to 9000, would be nice to be able to override this if port 9000 is already used.

WadeBarnes commented 10 months ago

The web server port can be changed using the WEB_SERVER_HOST_PORT environment variable.

See this under https://github.com/bcgov/von-network?tab=readme-ov-file#running-the-network-on-a-vps:

image

That gets passed into the environment for the docker-compose file and picked up here: https://github.com/bcgov/von-network/blob/b041b9a9af79861db0f11664fa7c386d772b845b/docker-compose.yml#L49

ianco commented 10 months ago

Ah right I didn't see that, thanks!