Skip to content

Wire INITIAL_ADMIN_USERNAME into compose once auth service supports it #62

@matthewhorridge

Description

@matthewhorridge

Tracking issue for this repo's part of the admin-bootstrap work.

See the main issue in protegeproject/webprotege-authorization-service#36.

What changes here

Once the authorization service supports a config-driven initial admin:

  1. Add INITIAL_ADMIN_USERNAME= to .env.example with documentation explaining when to set it.
  2. Pass it to the webprotege-authorization-service environment in docker-compose.yml:
    webprotege-authorization-service:
      environment:
        WEBPROTEGE_AUTH_INITIALADMINUSERNAME: ${INITIAL_ADMIN_USERNAME:-}
  3. Mention the bootstrap flow in the README (register first user → set INITIAL_ADMIN_USERNAME in .env to their username → restart the auth service → that user is now admin).

When to act

Do nothing until protegeproject/webprotege-authorization-service#36 is implemented and a new version of the auth service image is published.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions