Open johnshumon opened 5 years ago
reason I opted out git config in config.yml is because it's not a concern at the moment. I'm trying to just launch the application in docker container. But seems it's not happening!
I think this may be the same as the gateway timeout I'm experiencing when using docker (but not npm install
.
@gkoerk I haven't tried directly as a node application. I would like to have it as a docker container as it gives much isolation and portability.
Managed to solve?
@gkoerk No not yet! That's why asking for help or hint.
+1 exact same error here.
@gkoerk Ainda não! É por isso que pede ajuda ou sugestão.
I'm also having the same problem.
Hello,
Facing the same issue.
Looks like the node application on the wikijs container is crashing right after it attempts to establish a connection with wikidb. I found the below error in the wikijs container:
2018-11-17T18:18:41.891Z - error: [AGENT] Failed to connect to MongoDB instance.
Unhandled rejection MongoError: failed to connect to server [wikidb:27017] on first connect [MongoError: connect ECONNREFUSED 172.21.0.2:27017]
Basically, mongo is still initializing when wikijs attempts to connect which causes it to crash. reconnectTries
option does not work in this case.
The issue is described here And debated on mongoose here. From the way the discussion is going, looks like this needs to be handled somewhere here
@NGPixel or any other contributor, any update or pointer on this one how to run wikijs on docker?
Same error here.
+1
[This Might Help] Try use port 80, not use 4000 or other port num is more than 1024
-- I'm trying to run on docker locally in my machine. -- MacBook pro 2018 with latest docker and docker-compose installed.
I have followed through steps mentioned in the documentation. Only thing I have changed is the port number. Then again tried with default port 80. nothing changed!
Where am I going wrong?
Actual behavior
Following is my
docker-compose.yml
file:This is my how my
config.yml
looks like:Expected behavior
Display the landing page.