Strapi Default Database Url (credentials)

System Information
  • Strapi Version: v4.1.7
  • Operating System: ubuntu 20.04
  • Database: sqlite
  • Node Version: v16.13.1
  • NPM Version: 8.1.2
  • Yarn Version: 1.22.17

I’m following this tutorial : User Authentication in Next.js with Strapi They are using postgresql database and I’m using sqlite (default)
somewhere in the tutorial they needed the database url so that NextAuth can connect to the database directly.

Now I’m looking for the url of my database.
This is my “./config/database.js” file

const path = require('path');
const { database } = require('pg/lib/defaults');

module.exports = ({ env }) => ({
  connection: {
    client: 'sqlite',
    connection: {
      filename: path.join(__dirname, '..', env('DATABASE_FILENAME', '.tmp/data.db')),
    useNullAsDefault: true,

So how can I get the url of my database