I’ve done a really basic installation of DGraph that looks a little something like this:
- Spun up a DigitalOcean droplet
- Installed Docker
My docker compose file looks like:
version: "3.2" services: zero: image: dgraph/dgraph:latest volumes: - /mnt/volume_xxxxx:/dgraph ports: - 5080:5080 - 6080:6080 restart: on-failure command: dgraph zero --my=zero:5080 alpha: image: dgraph/dgraph:latest volumes: - /mnt/volume_xxxxx/dgraph:/dgraph environment: DGRAPH_ALPHA_ACL: secret-file=./secret_file DGRAPH_ALPHA_SECURITY: whitelist=10.0.0.0/8,18.104.22.168/8,192.168.0.2/16 ports: - 8080:8080 - 9080:9080 restart: on-failure command: dgraph alpha --my=alpha:7080 --zero=zero:5080 ratel: image: dgraph/ratel:latest ports: - 8000:8000 command: dgraph-ratel
I’m able to connect to the Ratel UI via http://xxx.xxx.xx.xxx:8000 and play around just fine, however I cannot connect via https://play.dgraph.io/
Additionally, opening up the GraphQL endpoint in Altair (via browser extension) or any other GraphQL UI doesn’t work either.
Am I missing something? Any help is appreciated.