Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot modify port number of web server #289

Closed
ianco opened this issue Jan 16, 2024 · 2 comments
Closed

Cannot modify port number of web server #289

ianco opened this issue Jan 16, 2024 · 2 comments

Comments

@ianco
Copy link
Contributor

ianco commented Jan 16, 2024

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

@WadeBarnes
Copy link
Member

WadeBarnes commented Jan 16, 2024

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:

- ${WEB_SERVER_HOST_PORT:-9000}:8000

@ianco
Copy link
Contributor Author

ianco commented Jan 16, 2024

Ah right I didn't see that, thanks!

@ianco ianco closed this as completed Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants