Hi, I just installed Dgraph on a Scaleway Dev-S instance for testing and it worked instantly… I was surprised that it is that easy
Here are the commands I used:
nohup dgraph alpha --my=localhost:7080 --zero=localhost:5080 --lru_mb=1024 &
nohup dgraph zero --my=localhost:5080 &
Now I am all hyped and have a few questions:
-
It seems that alpha listens on port 8080 for http requests. I want to run my web server on port 8080, can I change the port or disable http completely as i don’t plan to use ratel anyway.
-
I can see an authentication form in ratel . How can I secure Dgraph.
-
/admin/backup seems to be an enterprise feature. Can I manually backup the full database ? If so how can I do it.
-
The most important question. I want to run Dgraph with an apollo node.js express server. I am not a hosting person but I am sure the above commands aren’t suitable for production usage
I was wondering, what has to be done to make Dgraph available for production usage.
Thanks!!