add SqLite Data Source when the database file is in Docker volume
Answered
Hello, everyone.
My project uses a volume to store an SQLite database file:
version: "3.9"
services:
numbot:
build:
context: .
ports:
- "8080:8080"
volumes:
- numbot_db:/opt/numbot_db # SQLite database file numbot.sq3 located here in the container
volumes:
numbot_db:
Can I add this file as a Data Source? The host machine is Windows 10, and the volume is located on:
\\wsl$\docker-desktop-data\version-pack-data\community\docker\volumes\numbot_numbot_db\_data
But when I try to add it, it looks like IntelliJ cannot understand this type of path and simply ignore it.
Please sign in to leave a comment.
It's known issue unfortunately. As a workaround please try to mount the db folder to some local one.
Thank you!