Dashboard created in tenant is not accessible after kibana restart


I have created a role(client) and a tenant(x) targeting specific users ,
in the tenant have created some visualizations, and assigned that tenant x to role client and given read only permission to tenant, I create a new internal user and create user-role mapping from role screen in kibana, when i login with the user , i can access the dashboard from tenant(x) all good, and working fine,
but as soon as i restart everything using docker-compose down, and start it again using docker-compose up -d, the user is no longer able to access the dashboard and when i click on dashboard kibana gives the error dashboard not found,
i have to redo all the steps mainly create a new tenant and dashboard and visualizations from scratch to let the user see the dashboard again, anyone have faced similar pattern . what i can do to stop that happening,