yt-dlp-web-ui icon indicating copy to clipboard operation
yt-dlp-web-ui copied to clipboard

Templates don't persist when removing the docker container

Open ioqy opened this issue 8 months ago • 3 comments

Version running latest docker build

Describe the bug The templates are either gone after recreating the continer (e.g. with docker compose down and docker compose up) or the default templates default and audio only are added even though they have been deleted.

After a bit of searching I found that the templates are stored in the /config directory. So I added it as a volume to the docker compose file but the local.db gets either completely overwritten after the container is recreated or the default templates are added again.

Additional context It would be nice to already have the /config directory in the docker compose example instead of having to "reverse engineer" where things are stored.

ioqy avatar Jun 29 '24 15:06 ioqy