Hello. I have created a mongodb one click app and I'm trying to connect the database with Mongodb compass so I could check the entries in my database. Is there a way I can go around this?
https://github.com/githubsaturn/captainduckduck/wiki/App-Configuration#port-mapping
Host: 1234 -> Container: 27017mongodb://dbuser:dbpassword@SERVER_IP_ADDRESS:1234/dbnameOf course, you should use your own values for dbuser dbpassword SERVER_IP_ADDRESS and dbname. Also, you can use any free port instead of 1234
Okay Thank you, this worked really well. I have some issues I would really request for you to clarify to me if possible, Thanks.
Netdata engine won't start on my captainduckduck on my leader node. I get the Netdata Succesfully started notification but it resets to Start Netdata Engine after I click okay.
What version of CaptainDuckDuck you're running. There was a bug with NetData that was fixed in V0.5.1
My project has images that are stored in a public/uploads folder, I am trying to set a persistent directory so these images won't get deleted once their a restart but I've been unable to.
What do you mean by unable to? What was the problem?
The persistent directory is NOT A relative path to your application. In case of NodeJS application, your app sits in /usr/src/app. Therefore, if there is a folder named /upload at the root of your nodejs directory (next to package.json), you should set the "Container Path" for persistent directory as /usr/src/app/upload
Thanks, I was able to fix the persistent directory issue. I was setting the path to /uploads instead of the /usr/src/app. I need to read more on docker.
On the Netdata issue, I am on version 0.5.4. Issue still persists.
If you have a solid repro steps to observe the NetData bug, let me know.
What server provider you use?
Most helpful comment
https://github.com/githubsaturn/captainduckduck/wiki/App-Configuration#port-mapping
Host: 1234->Container: 27017mongodb://dbuser:dbpassword@SERVER_IP_ADDRESS:1234/dbnameOf course, you should use your own values for
dbuserdbpasswordSERVER_IP_ADDRESSanddbname. Also, you can use any free port instead of1234