Registry Mirror
Skip to content

Conversation

@lakhansamani

Copy link
Copy Markdown
Contributor

What does this PR do?

Follow-up to #929. Moves the ZopDay deploy button from quay.io/authorizer/authorizer:1.4.4 to a v2 image, ghcr.io/authorizerdev/authorizer-oneclick:2.4.8, on port 8080.

Thanks to @muskanbandta23 for #929, which found and fixed the broken button and laid out why v2 could not be deployed from a button.

Why not 1.4.4: 1.4.4 is affected by published critical advisories GHSA-h29v-hj44-q8cv, GHSA-29rf-f4vv-pvq6 and GHSA-845v-5ggv-pwfp, with no fix on the 1.x line. The README should not send new users to it.

What the new image does (authorizerdev/authorizer-oneclick): v2 reads no environment variables, only CLI flags, and a deploy button can only set an image, a port and env vars. This image wraps quay.io/authorizer/authorizer:2.4.8 with an entrypoint that:

  • maps env vars to flags, using the same names as the Railway/Render templates, and passes a flag only when its variable is set;
  • starts with zero config: SQLite at /authorizer/data/authorizer.db, port $PORT (default 8080);
  • generates CLIENT_ID, CLIENT_SECRET, JWT_SECRET, ENCRYPTION_KEY and ADMIN_SECRET on first boot when unset, saves them in a 0600 file under /authorizer/data, and prints only the generated ADMIN_SECRET, once, with a warning to change it;
  • falls back to --url=http://localhost:$PORT with a loud warning when AUTHORIZER_URL is unset, because --url is mandatory. The README tells users to set it after deploy.

Its CI smoke-tests a zero-env boot, a restart on the same volume (same secrets, same user) and an explicit-secrets boot before publishing multi-arch images.

Link changes: the DATABASE_TYPE/DATABASE_URL env params are gone because the image defaults to them. No secrets are in the link, since it is public. I kept the utm_* params from #929: they are ZopDay's own non-secret attribution and their contributor added them. The docs column now points to the new repo.

Do not merge yet. Two things have to happen first:

  1. The GHCR package authorizer-oneclick has to be made public (it was created private). Until then the link deploys an image ZopDay cannot pull.
  2. Someone has to test the exact link on ZopDay, including that ZopDay uses the image param.

Which issue(s) does this PR fix?

None filed. Follow-up to #929.

If this PR affects any API reference documentation, please share the updated endpoint references

No API change. README.md only, one line changed.

@lakhansamani
lakhansamani marked this pull request as ready for review November 26, 2026 11:28
@lakhansamani
lakhansamani merged commit 4ab80b1 into main Nov 26, 2026
3 checks passed
@lakhansamani
lakhansamani deleted the docs/zopday-v2-oneclick branch November 26, 2026 11:28
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.

1 participant