Skip to content

revert: drop authorizer dev; Docker is the advocated local path - #941

Open
lakhansamani wants to merge 2 commits into
mainfrom
revert/dev-command
Open

lakhansamani wants to merge 2 commits into
mainfrom
revert/dev-command

Conversation

@lakhansamani

Copy link
Copy Markdown
Contributor

Reverts #938 (unreleased) and fixes the README Docker quick start.

  • Why: we advocate the Docker quick start instead of maintaining a second startup path with its own defaults.
  • README: the image runs as UID 1000 and owns /authorizer/data since v2.4.9, so a named volume works without -u root (verified against quay.io/authorizer/authorizer:latest: /readyz 200, /app 200, GraphQL from an allowed localhost:3000 origin 200). Removes the stale UID 65532 / -u root advice and the --target final-root build, which the Dockerfile no longer has. Adds --url (required), --allowed-origins and HS256-JWKS caveats.

Verified: go build ./..., go vet ./cmd/, go test ./cmd/.

Reverts #938 before it reaches a release, so no user loses it. Decision:
recommend the Docker quick start (one docker run with --url and
placeholder secrets) rather than maintain a second startup path with
its own defaults.
…advice

The image runs as UID 1000 and ships /authorizer/data owned by it, so a
named volume works without -u root (verified against
quay.io/authorizer/authorizer:latest). The README still said UID 65532,
recommended -u root, and offered a --target final-root build that the
Dockerfile no longer has. Adds the --url, --allowed-origins and HS256
JWKS caveats.

This branch has not been deployed

No deployments
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