Repository navigation
v1.0.0 β Self-host rework π
Pogly Standalone v1.0.0 is finally here, and it's the version we plan to leave standing.
Quick heads up before we dive in: this is the "final" release of Pogly Standalone outside of bug fixes and the rare must-have feature. As a team, we've shifted our focus over to Pogly Cloud - that's where all new development is happening, and it's where we're putting our energy to build the best possible version of Pogly. Standalone is now in a place we're really happy with: it works great, the rough edges have been sanded down, and it's reasonably straightforward to self-host yourself if that's the path you want.
Who is this for? π€
- Casual / non-technical users => nope, we highly recommend you use cloud.pogly.gg. It's free, no installation, no docker, no nerd server stuff, and you get every bit of polish our team puts into the hosted experience. This is what we recommend for the vast majority of people.
- Self-hosters / devs / homelab folks => this release is for you. The entire docker + OIDC + persistent-volume story got reworked from the ground up, and you can now go from zero to a working instance with one
docker runcommand.
If you're on the fence about which one to use: pick cloud. We want you to have a great experience, and letting us handle the infrastructure is the easier path for everyone.
Single-image, single-port Docker setup π³
The Docker image now bundles SpacetimeDB + Caddy + the React app into a single container on a single port. No more "stand up SpacetimeDB separately, publish the wasm, point the web app at it" dance. (I mean, you still can, but Docker does exist)
docker volume create pogly-stdb
docker run -d --name pogly -p 8080:80 -v pogly-stdb:/stdb \
ghcr.io/poglyapp/pogly:latestOpen http://localhost:8080, pick the docker preset (default), module name pogly, you're in.
Two identity modes, no rebuild required π
Mode picked at run-time via env vars - same prebuilt image either way:
-
Mode 1 => anonymous tokens (default). SpacetimeDB issues a token on first connect, browser stashes it in localStorage. Zero external accounts. Lose the token, lose ownership though - no recovery path, so this is best for personal / single-streamer setups where you control the browser.
-
Mode 2 => third-party OIDC. Bring your own OIDC provider (Authentik, Keycloak, Auth0, Google, whatever speaks OIDC discovery) and pass:
-e OIDC_ISSUER=https://your-provider.example/ -e OIDC_CLIENT_ID=your-client-id
SpacetimeDB validates the token against the issuer's JWKS automatically. Identity becomes recoverable forever - lose your browser, sign back in to the same OIDC account, same Pogly canvas waiting for you.
Persistent volumes that work properly πΎ
Mount a pogly-stdb named volume at /stdb and your canvas state survives container restarts. The entrypoint writes a sentinel file after the first successful publish, so restarting the container won't try to re-publish the wasm against a fresh anonymous identity (which would 401 and ruin your day). Updating to a new image is a docker pull + docker run away with no data loss.
Docs! π
There's now a proper Self-hosting Pogly Standalone guide in the repo. Quick start, Mode 1 vs Mode 2 explanation, OIDC provider setup checklist, persistent volume management, the upgrade workflow, claim-driven auth pointers for the more advanced crowd, and a troubleshooting section that covers every weird thing we hit while testing this (BIOS virtualization, Windows CRLF line endings, all of it). If you're going to self-host, read it once front-to-back - saves a lot of time.
Bug fixes & under-the-hood π
- Pinned SpacetimeDB to v1.7.0 in the Dockerfile and CI. The unpinned
:latesthad drifted to v2.x and was no longer ABI-compatible with our module - this is why the docker build had been broken for a bit. - Caddyfile updated for SpacetimeDB v1.x routes (
/v1/*). - Entrypoint updated for the v1.7
spacetimeCLI (new flag names, thespacetimedbbinary is gone, etc.). - Overlay URLs without a
?domain=param now default to the same origin the page was served from instead of silently pointing at our cloud. .gitattributes+ a defensivesedin the Dockerfile so Windows clones don't break the image build with CRLF shell scripts.- Fixed the long-standing
stdbTokenvsstdb-tokenlocalStorage key mismatch.
Self-hosters: heads up π§
If you're upgrading an existing instance:
docker pull ghcr.io/poglyapp/pogly:latest(or pin to:1.0.0if you prefer specific versions).- Mount your existing
/stdbvolume - your canvas state survives the upgrade. The sentinel file gets created on first start if it isn't there yet. - If you want Mode 2, register
<your-pogly-origin>/callbackas an allowed redirect URI at your OIDC provider before flipping the env vars on, otherwise the first sign-in attempt will error out.
Everything else is in the docs.
Where Pogly goes from here βοΈ
If you want shiny new features and ongoing polish, cloud.pogly.gg is where the action is. We've shifted the team's focus there because that's where we can deliver the best possible experience to the most people - no setup, no maintenance, no docker, no OIDC headaches, just sign up and start streaming. It's free.
Standalone is going to keep working. We'll still be in the Discord bug channel, we'll still merge community PRs, and bug-fix releases will happen if/when they're needed. But the day-to-day development energy is now over on pogly-cloud, where it can reach a much bigger audience.
Thanks to everyone who's used Standalone, opened issues, contributed PRs, sat through betas, and put up with the rough edges over the years. You're the reason this thing turned into something we could call 1.0 with a straight face.
<3 from Team Pogly!