- Export data from cloud and extract the gz files
- Start the containers
docker-compose up
- Run live loader to load data into dgraph
docker run -it --network host --rm -v {PATH_TO_YOUR_EXTRACTED_DATA}:/tmp dgraph/dgraph:v21.03-slash \ dgraph live -f /tmp/g01.json -s /tmp/g01.schema -a 127.0.0.1:9080 -z 127.0.0.1:5080 -t TOP_SECRET
- Deploy the schema
npm install node deploy-schema.js http://127.0.0.1:8080/admin schema_production.graphql TOP_SECRET
-
Notifications
You must be signed in to change notification settings - Fork 0
kaiz16/dgraph-docker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published