Access external database in Jira Plugin

I am trying to add external database to jira config using jndi(using jndi seems the only option available).
By following -

So I am have no idea what all the attributes means like docBase and workDir. And how to get them for local environment “atlas-debug”. Can anyone update the answer given on the page for latest Jira i have shared or provide some pointers?