-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
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