Last active
December 1, 2018 12:47
-
-
Save Pepeye/18f8c8b8e49f80be6ecf7a1b39883892 to your computer and use it in GitHub Desktop.
dgraph docker-compose file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.2" | |
| services: | |
| zero: | |
| image: dgraph/dgraph:latest | |
| volumes: | |
| - type: volume | |
| source: dgraph | |
| target: /dgraph | |
| volume: | |
| nocopy: true | |
| ports: | |
| - 5080:5080 | |
| - 6080:6080 | |
| restart: on-failure | |
| command: dgraph zero --my=zero:5080 | |
| server: | |
| image: dgraph/dgraph:latest | |
| volumes: | |
| - type: volume | |
| source: dgraph | |
| target: /dgraph | |
| volume: | |
| nocopy: true | |
| ports: | |
| - 8080:8080 | |
| - 9080:9080 | |
| restart: on-failure | |
| command: dgraph server --my=server:7080 --lru_mb=2048 --zero=zero:5080 | |
| ratel: | |
| image: dgraph/dgraph:latest | |
| volumes: | |
| - type: volume | |
| source: dgraph | |
| target: /dgraph | |
| volume: | |
| nocopy: true | |
| ports: | |
| - 8000:8000 | |
| command: dgraph-ratel | |
| volumes: | |
| dgraph:% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment