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

Initial changes to support easy hosting of site and netplay connection server #610

Closed
wants to merge 1 commit into from
Closed

Conversation

ghost
Copy link

@ghost ghost commented Feb 20, 2023

If the idea of making it easy for others to host the site/netplay server is appealing, I could write up documentation and flesh this out more. I don't expect or want this PR to be accepted in its current state; I'm looking for feedback on whether this is a project goal or not.

I made some basic changes that allow users to easily host the site and netplay server that connects peers together. This includes adding a Dockerfile and example docker-compose file. I wasn't really able to find any documentation about this side of WASM-4, and if the aduros.com or wasm4.org websites go down then WASM-4 netplay stops working unless there are other signal servers being run.

These changes were the bare minimum I needed to get things working in a testing environment. I have another branch where I removed more of the site and made further changes needed for me to re-host, but I don't think any of that is useful upstream. There's plenty of things to improve here: not running the site from "docusaurus serve" in the Dockerfile and making it easier to configure the new "$HOSTNAME" are obvious places to start and there are several other changes that would make this more generally useful.

@ghost ghost closed this Feb 20, 2023
This pull request was closed.
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

Successfully merging this pull request may close these issues.

None yet

1 participant