One Identity Manager Automation - Job Server / One Identity Service

Hello.  I'm just starting out learning OIM and I've been experimenting with automating the deployment so I can spool up test environments easily.  I've got some as far as automating the workstation deployment (InstallManager-CLI) and creating a database (Quantum.Migrator) but I'm a bit of a loss about how to configure the Job Server, initially the OI Manager Service.

I'm guessing I can use InstallManager to install the Job Server role on a box, then maybe copy the service config file into the service directory, but I think the actual OI Database needs to have the Job Server configured as well.

I've had a hunt around but only got as far as the above.  Any suggestions / links about how to proceed please?

Thanks very much for any help,