version: "3.2" services: zero: image: dgraph/dgraph:v20.03.0 volumes: - type: volume source: dgraph target: /dgraph-20-03 volume: nocopy: true ports: - 15080:5080 - 16080:6080 restart: on-failure command: dgraph zero --my=zero:5080 server: image: dgraph/dgraph:v20.03.0 volumes: - type: volume source: dgraph target: /dgraph-20-03 volume: nocopy: true - type: bind source: ./tests/resources read_only: true target: /jwt volume: nocopy: true ports: - 18080:8080 - 19080:9080 restart: on-failure command: dgraph alpha --my=server:7080 --lru_mb=2048 --zero=zero:5080 --acl_secret_file /jwt/hmac-secret volumes: dgraph: