How to create role (user-permission) from bootstrap function

When I want to deploy strapi app I want to create ReadOnly role and assign custom permission to it.
Someone have a working example?

strapi.db.query('plugin::users-permissions.role').create({
          ????? some data with permissions ???
})
System Information
  • Strapi Version: 4.12.0
  • Operating System: docker on mac
  • Database: postgress
  • Node Version:
  • NPM Version:
  • Yarn Version: