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.
You can’t disable it. But you can change its offset use --port_offset 2Get started with Dgraph - all ports will increase by 2. eg: 7082, 5082 and so on.
You can use ACL (Enterprise) or just isolate Dgraph behind and API.
I started Dgraph with below commands. I am asking because the speaker from the tour videos said, that the standalone docker image is for quickstart purposes and not meant for production usage. I don’t think I am doing anything different. That’s why I am wondering what I have to do.
nohup dgraph alpha --my=localhost:7080 --zero=localhost:5080 --lru_mb=1024 &
nohup dgraph zero --my=localhost:5080 &
Hi there,
I ve just deployed aswell on scaleway dev-s ! ; )
Question I have is about the support of Dgraph’s versions :
How long 1.1.x will be supported ?
What will be the process to upgrade from 1.1 to 1.2 ?
Will we have a debian / ubuntu package as for regular databases ?
In an ideal world we would have little to do to update within the 1.X (like with postgres). Also I have already read somewhere that from 1.0 → 1.1 you need to do a complet dump and reload … Which is less than ideal, especially if you are looking to run 10 nodes of dgraph