diff --git a/docker-compose.yml b/docker-compose.yml index 54a8baf..dedda72 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,10 +1,9 @@ version: '3' - services: - harness: restart: always image: actionml/harness:develop + container_name: harness ports: - "9090:9090" environment: @@ -26,6 +25,7 @@ services: mongo: restart: always image: mongo:3.2 + container_name: mongo command: --logappend --logpath=/tmp/mongod.log ports: - "27017:27017" @@ -36,6 +36,7 @@ services: elasticsearch: restart: always image: elasticsearch:5.6.14-alpine + container_name: elasticsearch environment: ES_JAVA_OPTS: ${ES_JAVA_OPTS} discovery.zen.ping.unicast.hosts: elasticsearch @@ -49,6 +50,7 @@ services: restart: always #image: actionml/harness-cli:latest image: actionml/harness-cli:develop + container_name: harness-cli environment: PATH: "$PATH:/harness-cli/harness-cli" HARNESS_SERVER_ADDRESS: harness