Closed bartagergely closed 2 years ago
Inside init-and-run-wiki
there is a line at the end that says exec /usr/bin/env node ...
-- just remove the USERNAME
and PASSWORD
parts
Sorry, where is init-and-run-wiki
?
Sorry, where is
init-and-run-wiki
?
Its one of the files in this repo. It is referenced by the Dockerfile
.
Therefore to make the changes mentioned by @virgil9306 one needs to clone this repo, edit the init-and-run-wiki
file accordingly and build the docker image locally by running # docker build <directory_of_Dockerfile>
Alternatively, you could docker exec -it YOUR_CONTAINER /bin/sh
and then cd /usr/local/bin
and vi init-and-run-wiki
to edit the file in place, removing the username
and password
options. This will survive a container restart but probably not a recreation. But this is an alternative to building the image yourself.
First of all, sorry for the late reply. I didn't get any notifications since the repo is a fork and it was unwatched by default.
Now authentication is off unless the USERNAME
environment variable is set.
Is there a way to turn off BASIC AUTH completely? I want the authentication on the reverse-proxy located 'in front of' the tiddlywiki. Thank you!