Answer the question
In order to leave comments, you need to log in
owncloud docker how to configure bundle certificate in docker container?
Owncloud suggests running the service using a compose file
https://raw.githubusercontent.com/owncloud-docker/...
My SSL certificate uses a chain of intermediates to work correctly.
To make everything work, I add the SSLCertificateChainFile parameter to the Apache configuration that runs in the container.
After restarting the host system, the settings are lost. And this is understandable.
I tried to mount in compose
- ./apache2/000-default.conf:/etc/apache2/sites-enabled/000-default.conf
option works until the system is rebooted.
Here is the official response from owncloud DevOps
https://github.com/owncloud-docker/server/issues/43
You can simply mount the host file /etc/ssl/certs/ca-certificates.crt sich includes your ca into the same path within the container and it should work. We are doing it exactly like that internally.
Answer the question
In order to leave comments, you need to log in
How to forward /etc/apache2/sites-enabled/000-default.conf from the docker to the host machine so that the settings do not crash when the system is rebooted?Write it in the entrypoint.sh file so that it pulls up the file after a reboot.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question