I am using Xibo Docker for Linux and I would like to know if there is a way to relocate the library to a mounted NFS storage location.
Sure. Stop the containers then copy the existing shared/cms/library
directory on to your NFS storage.
Then, either mount that directly where it was originally, or, failing that, edit your docker-compose.yml
file to give the absolute path to your new library directory. eg:
cms-web:
image: xibosignage/xibo-cms:release-1.8.7
volumes:
- "./shared/cms/custom:/var/www/cms/custom"
- "./shared/backup:/var/www/backup"
- "./shared/cms/web/theme/custom:/var/www/cms/web/theme/custom"
- "/path/to/library:/var/www/cms/library"
- "./shared/cms/web/userscripts:/var/www/cms/web/userscripts"
restart: always
Then start the containers as normal.
1 Like
Wow. I almost had it. I just edited the wrong path the first time around, lol.