From 5ad7c2e83f3b1bda58e1caca12d13cb8804aa304 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Thu, 7 May 2020 09:05:31 +0200 Subject: [PATCH] Hackity hack hack - smaller configs --- README.md | 2 ++ configs/prod/config.js.tmpl | 4 +++- docker-compose.production.yml | 11 +---------- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 2766ffa..b294011 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,5 @@ automatically submit pull requests for dependency upgrades. Renovate supports [multiple languages and frameworks](https://docs.renovatebot.com) (see "Language support"). This helps us keep our Docker file tags and Compose versions update to date, amongst other things. + +Configured according [to this guide](https://github.com/renovatebot/renovate/blob/master/docs/development/self-hosting.md). diff --git a/configs/prod/config.js.tmpl b/configs/prod/config.js.tmpl index 265982d..8d07fdb 100644 --- a/configs/prod/config.js.tmpl +++ b/configs/prod/config.js.tmpl @@ -2,7 +2,9 @@ module.exports = { endpoint: "https://git.autonomic.zone/api/v1/", token: "{{ secret "api-token-v1" }}", platform: "gitea", - logLevel: "debug", + logFileLevel: 'warn', + logLevel: "info", + logFile: '/tmp/renovate.log', onboarding: true, onboardingConfig: { extends: ["config:base"], diff --git a/docker-compose.production.yml b/docker-compose.production.yml index def17e1..121b66e 100644 --- a/docker-compose.production.yml +++ b/docker-compose.production.yml @@ -13,28 +13,19 @@ services: mode: replicated replicas: 0 labels: - - "traefik.enable=true" - "swarm.cronjob.enable=true" - - "swarm.cronjob.schedule=*/1 * * * *" # testing - # - "swarm.cronjob.schedule=0 8 * * *" # prod setup + - "swarm.cronjob.schedule=* * * * *" - "swarm.cronjob.skip-running=false" - - "swarm.cronjob.replicas=1" restart_policy: condition: none docker-cron-job: volumes: - "/var/run/docker.sock:/var/run/docker.sock" - environment: - - TZ=Europe/Amsterdam - - LOG_LEVEL=info - - LOG_JSON=false deploy: placement: constraints: - node.role == manager - labels: - - "traefik.enable=true" configs: config-js-prod-v1: