The images for 1.8.11 have support for this built in.
You’ll need to upgrade to 1.8.11, and add the following to the volumes line of your cms-web container in the docker-compose file before bringing the containers up:
- "./shared/cms/ca-certs:/var/www/cms/ca-certs"
So the complete section reads:
cms-web:
image: xibosignage/xibo-cms:release-1.8.11
volumes:
- "./shared/cms/custom:/var/www/cms/custom"
- "./shared/backup:/var/www/backup"
- "./shared/cms/web/theme/custom:/var/www/cms/web/theme/custom"
- "./shared/cms/library:/var/www/cms/library"
- "./shared/cms/web/userscripts:/var/www/cms/web/userscripts"
- "./shared/cms/ca-certs:/var/www/cms/ca-certs"
restart: always
links:
- cms-db:mysql
- cms-xmr:50001
environment:
- XMR_HOST=cms-xmr
env_file: config.env
ports:
- "80:80"
mem_limit: 1g
Next make the directory shared/cms/ca-certs
and put your root certificate in x509 format in there as any file name ending in .crt
- eg myca.crt
When you start the containers, that certificate will be automatically incorporated.