Skip to content

single_default_tenant seeds broken #2575

@aprilrieger

Description

@aprilrieger
Collaborator

single_default_tenant seeds broken

How to reproduce:
add to .env or .env.development

# Comment out these 5 for single tenancy / Uncomment for multi
# HYKU_ADMIN_HOST=admin-${APP_NAME}.localhost.direct
# HYKU_ADMIN_ONLY_TENANT_CREATION=false
# HYKU_BLOCK_VALKYRIE_REDIRECT=false
# HYKU_DEFAULT_HOST=%{tenant}-${APP_NAME}.localhost.direct
# HYKU_ROOT_HOST=localhost.direct
# HYKU_MULTITENANT=true

# Comment out these 2 for multi tenancy / Uncomment for single
HYKU_ROOT_HOST=localhost.direct
HYKU_MULTITENANT=false

Update the docker compose under web service:

    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.web-${APP_NAME:-hyku}.tls=true"
      - "traefik.http.routers.web-${APP_NAME:-hyku}.entrypoints=websecure"
      - "traefik.http.routers.web-${APP_NAME:-hyku}.priority=10"
      - "traefik.http.routers.web-${APP_NAME:-hyku}.rule=Host(`single.localhost.direct`)" <------- update host
      - "traefik.http.services.web-${APP_NAME:-hyku}.loadbalancer.server.port=3000"

Navigate to single.localhost.direct and login with the admin user in seeds file.
Naviagte to the dashboard -> collections **notice no adminset
Navigate to the dashboard - > works **notice no create works button

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @aprilrieger

        Issue actions

          single_default_tenant seeds broken · Issue #2575 · samvera/hyku