Closed bensta closed 4 years ago
/logs
) for errors.Just tried port 3000 everywhere, same result.
The logs: wiki-stderr.log Errors that are present:
Note: The output from the mongoDB container shows active, accepted connections, so the mongoDB issue seems to be solved later in the startup process I guess (see line 37-41 in the output on pastebin)
While you might get active connections in MongoDB, it relies on a pool of connections. If some of them are failing, there's a good chance some pages will fail to load.
Try starting MongoDB as a separate container, wait for it to be fully started. Then start a separate container with Wiki.js pointing to that DB.
Thanks for your help!
I ran:
First:
docker run --name wikidb -d mongo
Then:
docker run -p 3000:3000 --name wikijs --link wikidb:wikijs -e "WIKI_ADMIN_EMAIL=admin@example.com" -v /Users/johndoe/wiki/dockerfile/config.yml:/var/wiki/config.yml requarks/wiki
it worked. I assume, that some sort of health check should be included in the docker compose file to check if mongoDB is ready, what is your take on this?
This is already the case in 2.0.
I try to run wiki.js using docker compose on my macbook with an up to date MacOS Mojave
Actual behavior
However, index.html seems to be fetched from localhost anyway (despite the stall at the end)
Expected behavior
I expected to see the web interface of wiki.js
Steps to reproduce the behavior
Run docker-compose up using the following config files:
Open a browser on the host and visit localhost:8080
It seems as if some sort of Firewall drops packages somewhere between host and docker image. My MacBook firewall is deactivated however.
Any help is appreciated!