title: how to connect sqlite which is attached as volume in docker
body: <p>I am trying to find what is the sqlite database URL for me to run automation testing.</p>
  <p>There is one <code>sqllite database</code> at my local path.</p>
  <p>I did not see sql server docker, below is the only place I saw the database is being attached as volume.</p>
  <p>Is this common practise that all services running as docker container but database is sitting local then attach to docker?</p>
  <p>In this case how do I know the port in order to make use <code>DatabaseLibrary</code> to connect?</p>
  <pre><code>  api:
      image: test/api/server:${TEST_VERSION}
      container_name: test_api_server
      privileged: true
      shm_size: 1gb
      ports:
        - ${API_SERVER_PORT}:${API_SERVER_PORT}
      environment:
        - DB_WATCHER_ADDR=http://watcher:${DB_WATCHER_API_PORT}
      volumes:
        - ${DB_DIR}:/home/test/api_server/db
  </code></pre>