Conversation
|
Thank you @muskanbandta23 for tracking this down and testing the exact link! You're right that |
|
Follow-up landed in #935: the ZopDay button now uses a v2 image, |
|
Hi @muskanbandta23, a quick update on the approach we've taken for ZopDay, since your PR started it. Why not pin 1.4.x: 1.4.4 is affected by several published advisories (for example GHSA-h29v-hj44-q8cv, GHSA-29rf-f4vv-pvq6 and GHSA-845v-5ggv-pwfp), so a one-click button shouldn't start it. We still merged your fix first so the button worked in the meantime. What we did instead: v2 can only be configured through CLI flags, and ZopDay's deploy link can only set an image, a port and env vars. So we published a small wrapper image in a new repo, authorizerdev/authorizer-oneclick:
The README button now points at it (#935, which credits your original fix). If you're in touch with the ZopDay team: the button would be even nicer if the link could pre-fill |
What does this PR do?
Fixes the ZopDay button I added in #801. It did not start a working instance, and a user who clicked it on 24 Nov got a failed deploy.
Two things were wrong with the old link:
quay.io/authorizer/authorizer:latest, which is now v2. v2 reads its settings only from command-line flags (per MIGRATION.md), and a deploy button can only pass an image, a port and env vars, so the container prints its help text and exits.The new link deploys
quay.io/authorizer/authorizer:1.4.4(the last release that reads env vars) on port 8080, withDATABASE_TYPE=sqliteandDATABASE_URL=data.dbpreset, so it starts with no extra setup. I tested the exact link: the instance comes up and opens the admin dashboard, and/healthreturns OK.SQLite inside the container is meant for trying Authorizer out. For production, set
DATABASE_TYPE/DATABASE_URLto a real database in the deploy screen before deploying. Once ZopDay can pass start arguments, I will send a follow-up that moves the button to v2.Try it out: https://zop.dev/zopday/app/deploy?utm_source=github&utm_medium=one_click_pr&utm_content=authorizer
One-Click Deploy with ZopDay: https://zop.dev/zopday/oss?utm_source=github&utm_medium=one_click_pr&utm_content=authorizer
Which issue(s) does this PR fix?
None filed. It fixes the button from #801.
If this PR affects any API reference documentation, please share the updated endpoint references
No API change.
README.mdonly, one line changed.