Ah ok. That explains a lot. I think what you are looking for is the git web server option for Otter wiki.
How that probably works is that there is a git repo inside the container, and probably stored in /app-data. If you have that mount set up you may see what looks like a bare git repo in there.
If you want to poke around inside the container, you can run a shell inside of it like this, assuming /bin/bash exists in the container:
docker exec -it containername /bin/bash
Anyway, you don't need to mess with that, because Otter wiki exposes a git server itself. All you have to do is clone the URL it gives you in the GUI, add your files, commit and push.
So the most straightforward way is:
- Clone the repo to a local working copy:
git clone https://otterwiki.example.com/repopath(the URL should show in the UI) - Enter the directory:
cd ./repopath - Make your changes, add files, etc.
- Stage the changes
git add . - Commit the changes
git commit -m "imported buncha files" - Push them to the origin remote (Otter wiki):
git push
If you're not comfortable with the git command line, there are a bunch of TUI and GUI git clients you can use. It makes no difference which one. I usually just use the built-in vscode one for my hobby projects.