Docker volume for assets? #6564
-
In your docker-compose examples I cannot find a volume mount to ensure that assets survive container upgrades? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
afaik assets are saved in the database, filesystem is only used as cache. |
Beta Was this translation helpful? Give feedback.
-
Assets are saved in the DB. You can destroy and recreate the container without worrying about assets. The path you mention ( |
Beta Was this translation helpful? Give feedback.
-
Can someone provide the docker entries required for using external storage (or sync) of pages? |
Beta Was this translation helpful? Give feedback.
Assets are saved in the DB. You can destroy and recreate the container without worrying about assets.
The path you mention (
/wiki/data/repo
) is for git storage synchronization, which you have enabled. Manually deleting files from there will obviously delete them in Wiki.js, because of the sync.