You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same issue, I don't think it has to do with database - more likely it's the container that is rebuilt and the locally stored data would be deleted inside the container. I guess.
I overcame this by attaching a new volume and modifying the assetplugin path to that persistent volume mount. Worth noting is that I am using Northflank. But the same should be possible if you attach f.ex. a docker volume to your compose setup and change the asset plugin to the correct mount path.
I have a fork of this project (https://github.com/robtec/vendure-docker-deploy)
When I
docker compose down
thendocker compose up -d
I lose the test asset images on my siteI persist the database as a docker volume so this is not deleted on the
docker compose down
I'm guessing its repopulating the database or something on startup?
The text was updated successfully, but these errors were encountered: