version: '3.3' services: corenlp: image: "nlpbox/corenlp:3.9.2" environment: - JAVA_XMX=4g ports: - "9000:9000" neuralseg: image: "nlpbox/neuraleduseg-service:latest" ports: - "9001:8000" entrypoint: > hug -f neuralseg/splitter_api.py stagedp: build: . environment: - CORENLP_ENDPOINT=http://corenlp:9000 - NEURALSEG_ENDPOINT=http://neuralseg:8000 # we're using the container port, b/c this is not via --net host ports: - "9002:8000" entrypoint: > hug -f src/stagedp/parser_api.py