Hackity hack hack - smaller configs

This commit is contained in:
Luke Murphy 2020-05-07 09:05:31 +02:00
parent 5cbef64c52
commit 5ad7c2e83f
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
3 changed files with 6 additions and 11 deletions

View File

@ -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).

View File

@ -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"],

View File

@ -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: