How do I configure NodeBB setup for Google Cloud VM?
-
Hello,
I'd like to set-up NodeBB on my Google Cloud VM which runs Ubuntu 16 bun there are some things that I could not found out for hours. What are the ports and URL's that I should be using for Google Cloud? Everytime I try, I face connection refuses.
I can create the website by using 127.0.0.1 IP but the connection is refused by google's internal IP
"url": "I typed here my domain which is connected to Google's external IP",
"secret": "the key",
"database": "mongo",
"mongo": {
"host": "Google's internal IP",
"port": "I couldnt find this out?",
"username": "Is this the nodebb user or the user I created for admin database?",
"password": "Password",
"database": "nodebb" -
If you cannot answer these questions yourself then I suggest you install virtualbox on your local machine and get nodebb working locally but following the docs below. Once you are successful with this, you will have learned alot and can then try and deploy on Google infrastructure.
I know you want to deploy straight to production but my way will be quicker in the long run. The next question you will have will be regarding NGINX and how to get it running on port 80. The answers to all your questions are in the docs. The docs are very easy to follow.
Ubuntu (Recommended) - NodeBB Documentation
Documentation portal for NodeBB Forum Software
(docs.nodebb.org)
<quote>
I can create the website by using 127.0.0.1 IP but the connection is refused by google's internal IP
(127 is a local ip, you need to provide your internet IP here)"url": "I typed here my domain which is connected to Google's external IP",
"secret": "the key",
"database": "mongo",
"mongo": {
"host": "Google's internal IP", (should be 127.0.0.1)
"port": "I couldnt find this out?", (4567)
"username": "Is this the nodebb user or the user I created for admin database?", (nodebb user)
"password": "Password", (mongo password for Nodebb database)
"database": "nodebb"
</quote> -
Will do now, thanks. I'll write back the news.
-
@duke said in How do I configure NodeBB setup for Google Cloud VM?:
If you cannot answer these questions yourself then I suggest you install virtualbox on your local machine and get nodebb working locally but following the docs below. Once you are successful with this, you will have learned alot and can then try and deploy on Google infrastructure.
I know you want to deploy straight to production but my way will be quicker in the long run. The next question you will have will be regarding NGINX and how to get it running on port 80. The answers to all your questions are in the docs. The docs are very easy to follow.
Ubuntu (Recommended) - NodeBB Documentation
Documentation portal for NodeBB Forum Software
(docs.nodebb.org)
<quote>
I can create the website by using 127.0.0.1 IP but the connection is refused by google's internal IP
(127 is a local ip, you need to provide your internet IP here)"url": "I typed here my domain which is connected to Google's external IP",
"secret": "the key",
"database": "mongo",
"mongo": {
"host": "Google's internal IP", (should be 127.0.0.1)
"port": "I couldnt find this out?", (4567)
"username": "Is this the nodebb user or the user I created for admin database?", (nodebb user)
"password": "Password", (mongo password for Nodebb database)
"database": "nodebb"
</quote>Done