A little help with NodeBB on Docker?
-
So I'm VERY new to Docker.com and stuff. I've noticed that I could get Ubuntu, or Nginx or many other things on a docker.
I just want to set up a Forum on Docker. The tutorial given is kinda outdated. Can anyone tell me what I should do?
My questions: Please answer all
- Which software thing do I take? Nginx? Ubuntu? What?! I heard NGinx is widely used.
- Based on which software I should take, could you tell me what steps I should follow? Any tutorial link is appreciated.
- By taking that software, what are the flaws? Like data will reset, it will go offline quickly? Etc.
- Does docker have any disadvantages? Is it 24/7? Do I need to pay? Anything? I'm new to it.
Please help me. I'm doing it for a friend. Thank you.
-
Anybody?
-
- I use Nginx and Mongodb!
- I use docker and it works great
-
@Jenkler said in A little help with NodeBB on Docker?:
- I use Nginx and Mongodb!
- I use docker and it works great
Umm could you tell me if you know any tutorial on how to use Mongodb and nginx?
-
- Use nginx as the reverse proxy, it will give you better performance serving static assets.
- Use ubuntu, there's more support for it
- Use MongoDB, it's better on memory usage at the sacrifice of speed (hardly noticeable)
- there will always be technical difficulties, be prepared to deal with them
- Look at some tutorials on how to properly secure your instance, i.e. using ssh keys, strong passwords, not exposing DB ports to the world, etc
- I wouldn't use docker for nodebb just yet, it's not well supported, last I checked.
- you only need to pay as much as you're willing to. I hear Openshift is free (if you don't count the time you spend setting things up)
- Is Docker 24/7? I'm not sure what you mean by that.
It sounds like you've done some very light, basic research. Keep reading
-
@Bri said in A little help with NodeBB on Docker?:
- Use nginx as the reverse proxy, it will give you better performance serving static assets.
- Use ubuntu, there's more support for it
- Use MongoDB, it's better on memory usage at the sacrifice of speed (hardly noticeable)
- there will always be technical difficulties, be prepared to deal with them
- Look at some tutorials on how to properly secure your instance, i.e. using ssh keys, strong passwords, not exposing DB ports to the world, etc
- I wouldn't use docker for nodebb just yet, it's not well supported, last I checked.
- you only need to pay as much as you're willing to. I hear Openshift is free (if you don't count the time you spend setting things up)
- Is Docker 24/7? I'm not sure what you mean by that.
It sounds like you've done some very light, basic research. Keep reading
Thank you so very much. I'm pretty much a noob. And for nginx and stuff, do i install it on my PC? Or online somehow? Cause I want it to be hosted somehow, where I don't need to keep my laptop running 24/7 or anything like that. Thank you sooooo much tho
-
Everything would be installed on a VPS (or, virtual private server). Think of it as a computer somewhere that stays on forever (well, 99.99% of the time), that you log into remotely (ssh) and install there. If you're not already, you'll have to get used to using some command line stuff.
You can start here:
https://www.digitalocean.com/community/tutorials/how-to-create-your-first-digitalocean-droplet-virtual-server -
@Bri said in A little help with NodeBB on Docker?:
Everything would be installed on a VPS (or, virtual private server). Think of it as a computer somewhere that stays on forever (well, 99.99% of the time), that you log into remotely (ssh) and install there. If you're not already, you'll have to get used to using some command line stuff.
You can start here:
https://www.digitalocean.com/community/tutorials/how-to-create-your-first-digitalocean-droplet-virtual-serverDigitalocean is paid though, isn't it? I'm cheap. Lol. Free only. XD. Sorry.
-
@Bri said in A little help with NodeBB on Docker?:
Look at some tutorials on how to properly secure your instance, i.e. using ssh keys, strong passwords, not exposing DB ports to the world, etc
This is something I really want to stress. This part of setting anything up on the internet is overlooked way too often, and what we get is a bunch of botnets we have to defend against in DDoS attacks.
Things like:
- disable root login
- change the ssh port to something non standard
- remove any bits you don't need, like postfix
- test, and make sure you don't have ports open to the world that you don't intend (i.e. anything other than ssh, 80, and 443)
-
@Friendship Yes Azure would be fine. Free is ok too, I've run stuff off a laptop at my house and used a free subdomain for a long time (but now I make money so I can pay to not have to deal with things like the IP changing or someone turning off the computer)
The tutorial is still valid BTW, just apply some of the stuff to what you're going to do on some other provider. DO actually has a lot of good tutorials for this stuff.
-
@Bri said in A little help with NodeBB on Docker?:
@Friendship Yes Azure would be fine. Free is ok too, I've run stuff off a laptop at my house and used a free subdomain for a long time (but now I make money so I can pay to not have to deal with things like the IP changing or someone turning off the computer)
The tutorial is still valid BTW, just apply some of the stuff to what you're going to do on some other provider. DO actually has a lot of good tutorials for this stuff.
Thank you @Bri alot. You've helped me a lot today. I thank you a lot. I'll go with Azure. Try using Tutorials here and there if I ever get confused, I'll just ask over here. Because I know for sure, NodeBB users are helpful
Thank you.
-
Lots of people here willing to help, just have to show your effort