From ec361b0511d7472f558ba08d35e6ad0271cd7c89 Mon Sep 17 00:00:00 2001 From: stebifan Date: Wed, 18 Apr 2018 00:24:54 +0200 Subject: [PATCH] cron --- templates/meshviewer/0/docker-compose.yml | 6 ++++++ templates/meshviewer/0/rancher-compose.yml | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/templates/meshviewer/0/docker-compose.yml b/templates/meshviewer/0/docker-compose.yml index efd42e0..4e650be 100644 --- a/templates/meshviewer/0/docker-compose.yml +++ b/templates/meshviewer/0/docker-compose.yml @@ -55,6 +55,12 @@ services: io.rancher.container.hostname_override: container_name service: http + fetch-json: + image: hoffmannhosting/docker-meshviewer-cron + - meshviewer-data:/opt + labels: + io.rancher.container.hostname_override: container_name + letsencrypt-map: image: janeczku/rancher-letsencrypt:v0.5.0 environment: diff --git a/templates/meshviewer/0/rancher-compose.yml b/templates/meshviewer/0/rancher-compose.yml index df607fa..a7725e7 100644 --- a/templates/meshviewer/0/rancher-compose.yml +++ b/templates/meshviewer/0/rancher-compose.yml @@ -71,6 +71,10 @@ services: - target_port: 80 hostname: ${GRAFANA_DOMAIN} + fetch-json: + scale: 1 + start_on_create: true + letsencrypt-map: scale: 1 start_on_create: true