Repository navigation
Description
Context
I'm running the official PS5Upload Engine Web UI v12.6.13 in Docker, with a self-hosted signalling Hub and a guest invite page behind a reverse proxy. Internet guests have successfully joined and played from a mobile network without Tailscale using this setup.
Two configuration limitations currently require external workarounds.
1. Custom Hub URL is not persisted after an engine restart
Steps to reproduce
- Configure a custom Hub through the Play Together settings API, e.g.
POST /api/join/settingswith{"hub_url":"wss://play.example.com/ws"}. - Confirm that
GET /api/join?addr=<console-ip>reports the custom Hub. - Restart or recreate the Engine Web UI container, keeping the persistent data volume.
- Query the settings again:
hub_urlhas reverted to the default Hub URL.
This also matches the current implementation: join.rs stores only invites and port in play_together.json; it explicitly notes that other Play Together settings last one engine run. The hub_url setting exists, but isn't loaded from persistent storage.
Requested: persist the configured hub_url across engine/container restarts, just as the existing invite mode and port are persisted. The default should still be used when nothing custom is configured.
2. The public internet invite page URL is hard-coded
In join_net/mod.rs, the public Play Together guest page is defined as:
pub(crate) const PAGE: &str = "https://ps5upload.phantomptr.com/join/";link_for() uses kind.page() when generating the internet invite. As a result, even when I use my own Hub and serve my own guest page, generated invites still start with the project's hosted URL.
Requested: make the public Play Together invite page URL configurable (for example, via a persisted setting and/or Docker environment variable, such as PS5UPLOAD_JOIN_PAGE_URL). Keep the existing official URL as the default for users who don't self-host.
For example, a self-hosted setup should be able to generate https://play.example.com/join/#room=... while retaining the existing fragment parameters (room, k, fp, hub, lan, ts) and their current behaviour.
Workaround and expected result
Currently I use an engine-restart hook to reapply the custom hub_url, and a local reverse-proxy response rewrite for generated invite links. Both work, but add unnecessary complexity and can break on updates.
Ideally a self-hosted operator could configure the Hub URL and public invite page once, restart/recreate the official Docker container, and still generate correct guest links without response rewriting or an external settings watchdog.
This is specifically about self-hosted WebRTC/Hub invite URLs, not opening the engine's management API to the public internet or replacing the existing default service. Related but distinct from #650 (direct public-address access).
Thanks for considering it!
Activity
Self-hosted Play Together (#881), quieter updates, auto helper update…
phantomptr commentedon Nov 20, 2026
Both are in 12.6.15 (a pre-release), plus a little more:
play_together.json. For Docker you can set them once withPS5UPLOAD_HUB_URLandPS5UPLOAD_PAGE_BASE; a value saved in Settings wins over the environment, and Settings shows where each value comes from.https://play.example.com/) gives the join, phone controller and share pages (join/,pad/,share/), with every fragment parameter unchanged.PS5UPLOAD_HUB_LISTENturns it on andPS5UPLOAD_HUB_PUBLIC_URL=https://play.example.comsets both the hub and the page address in invites. It listens on its own port, which serves only the hub (/ws), the three guest pages (built into the engine, so they always match its version) and/health; the engine's own API is never reachable there. The engine connects to its own hub over loopback, and the hub allows your page's origin automatically. Optional STUN withPS5UPLOAD_HUB_STUN.With that you shouldn't need the restart hook or the response rewrite any more. Friends also join faster over the internet in this version. Thanks for the clear request and for describing your setup. Please reopen if something doesn't fit how you run it.