It looks like dgraph-ratel is missing in the latest docker image for v21.03.0.
Starting a docker container gives the following error: starting container failed: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "dgraph-ratel": executable file not found in $PATH: unknown
Running the following command, shows the binaries in latest docker image compared to the previous. As you can see, dgraph-ratel is missing in v21.03.0. Is ratel going to be started differently?
$ docker run -it dgraph/dgraph:v20.11.2 ls -l /usr/local/bin
total 67672
-rwxr-xr-x 1 root root 11462920 Feb 23 07:58 badger
-rwxr-xr-x 1 root root 45126960 Feb 23 07:57 dgraph
-rwxr-xr-x 1 root root 12698992 Feb 23 07:58 dgraph-ratel
$ docker run -it dgraph/dgraph:v21.03.0 ls -l /usr/local/bin
total 60632
-rwxr-xr-x 1 root root 11997104 Apr 7 17:39 badger
-rwxr-xr-x 1 root root 50087280 Apr 7 17:38 dgraph
@MichelDiz as ratel has already been removed from the main image, can you point towards documentation for how to use ratel from a separate image? Looks like all official container stacks still reference the mail image as the source for ratel.
I looked through previous versions of the standalone image here—Docker Hub, but can’t figure out which version comes before 20.03.0 because the versioning strategy seems to have changed?
@dmai@MichelDiz Running from play.dgraph.io is not an option for us since we run Dgraph from an airgapped environment. The removal of the Ratel UI from the Docker image just broke things for us.
You cannot cross the http/https, https/http boundary.
I solved with another docker container for ratel. The following is my docker compose.
Sorry for relocating the ports to 700x but I already have a busy 80xx
In order to double test it I tried also a reverse proxy on play. dgraph. io (sorry for these strange spaces) using a Caddy configuration.
But I cannot post the caddy conf because as a new user I cannot post more than two links and also play dgraph io count as a link.