-
-
Save akshanshjain95/73319fa93179cfc8cfa03d4d1a19f522 to your computer and use it in GitHub Desktop.
This file contains 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