services: openj9-build: build: context: . dockerfile: Dockerfile.openj9 target: build command: sh -c 'rsync -ivr /build/dist/* /build/host' volumes: - "./openj9-dist:/build/host" openj9-run: image: git.dc09.ru/darkcat09/openj9 build: context: . dockerfile: Dockerfile.openj9 target: run piped: image: git.dc09.ru/darkcat09/piped build: context: . dockerfile: Dockerfile.piped target: run network_mode: host environment: MAX_MEMORY: 512M volumes: - "./config.properties:/app/config.properties"