Dgraph-ratel binary missing in docker image v21.03.0

Using https://play.dgraph.io will not work for a dgraph running on http://example.com

Even with

Access-Control-Allow-Origin: *

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

version: '3'
services:

  dgraph:
    image: dgraph/standalone:v21.03.1
    restart: always
    ports:
      - "7001:8080"
      - "7002:9080"
    volumes:
      - "./dgraph:/dgraph"
      
  dgraphratel:
    image: dgraph/ratel
    restart: always
    ports:
      - "7000:8000"

Hope this helps.

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.

Best

1 Like