diff --git a/docker-compose.yml b/docker-compose.yml index dedda72..418379c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,10 +7,6 @@ services: ports: - "9090:9090" environment: - #MONGO_HOST: mongo - #REST_SERVER_HOST: 0.0.0.0 - #REST_SERVER_PORT: 9090 - #ELASTICSEARCH_REST_HOST: elasticsearch MONGO_URI: mongodb://mongo:27017 HARNESS_URI: http://0.0.0.0:9090 ELASTICSEARCH_URI: http://elasticsearch:9200 @@ -19,7 +15,6 @@ services: - elasticsearch volumes: - ${HARNESS_LOGS}:/harness/logs - #- ${CLI_DATA}:/harness-cli-data - ${CLI_DATA}:/data mongo: @@ -42,18 +37,24 @@ services: discovery.zen.ping.unicast.hosts: elasticsearch discovery.type: single-node ports: - - '9200:9200' + - "9200:9200" volumes: - ${ES_DATA}:/usr/share/elasticsearch/data harness-cli: 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 volumes: - #- ${CLI_DATA}:/harness-cli-data - - ${CLI_DATA}:/data + - ${CLI_DATA}:/data + + watchtower: + restart: always + image: v2tec/watchtower + container_name: watchtower + volumes: + - /var/run/docker.sock:/var/run/docker.sock + command: --interval 3000