I just installed CryptPad in docker-compose and everything works wonderfully, however reading the documentation it mentions that to add an administrator user I have to:
Copy their public key found in User Menu (avatar at the top right) > Settings > Account > Public Signing Key
Paste this key in cryptpad/config/config.js in the following array (uncomment and replace the placeholder): . . . . .
The problem is that in my docker-compose.yml volumes I don't have cryptpad/config/config.js
I have it in an environment variable that came with the GitHub compose:
Although I can enter docker to modify the config.js from there, I suppose it will be overwritten when I update to a new version (I think so)
I tried to add the cryptpad/config/config.js volume to my docker compose and repull my image but the container did not start the log it sends an error message that says
Sed could not edit : not a regular file
mentioning the config.js file
The question is the docker-compose configuration that came in github did not have the /cryptpad/config/config.js volume, is it some error or was it simply omitted for that example? Is there a way to add that volume without the aforementioned error? or do I have to destroy the entire container with the images and volumes?
Thank you very much and greetings