Open ebbeknudsen opened 11 months ago
Hi @ebbeknudsen
My excuses for the not so clear documentation. I did not test this feature inside docker yet... I'll try to find out we can implement that. I did a quick test and it did indeed not work as it should.
Using it without docker does seem to work fine.
Spent some time trying to get this work.
First, I updated my volumes to the below: ` volumes:
put my key in
/docker/wikmd/sshand
chmod 600` the key fileFrom within the container when I run ssh -T git@github.com
per the github recommendation to test if the key is working, I get the expected message.
However, when I edit pages, I don't see anything pushed to my github repo. I have both environment variables and & the yaml file setup. I was hoping at least one of them would get picked up.
Also, wanted to point out, the yaml variable is sync_with_remote
, whereas the environment variable documentation refers to both is SYNCH_WITH_REMOTE
and SYNC_WITH_REMOTE
Minor difference, but probably nice to keep the similar in the long term.
I'm also not able to get this working in a docker container. For me this seems like an absolute perfect markdown wiki with a git backend, but only if it can be deployed in a container environment.
Hello. How would I got about adding authentication (like an SSH key) to be able to sync the wiki with my git remote?
What is the recommended approach?
docker exec
into the container, and create the ssh configuration?What is the recommended approach? I think the documentation is very lackluser on this topic, it just links to githubs documentation of how to add an ssh key
Thanks for the help!