Created
September 21, 2018 02:30
-
-
Save nanne007/a4f03a6211e47cc58811319296fc8f85 to your computer and use it in GitHub Desktop.
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 --memory_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