From 5bd97aebbe35d7681908e78918952a7ab0179266 Mon Sep 17 00:00:00 2001 From: Dioni Date: Wed, 9 Oct 2019 20:10:39 -0300 Subject: [PATCH] Added container to monitoring image changes --- docker-compose.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) 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