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 [multiple languages and frameworks](https://docs.renovatebot.com) (see
"Language support"). This helps us keep our Docker file tags and Compose "Language support"). This helps us keep our Docker file tags and Compose
versions update to date, amongst other things. 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/", endpoint: "https://git.autonomic.zone/api/v1/",
token: "{{ secret "api-token-v1" }}", token: "{{ secret "api-token-v1" }}",
platform: "gitea", platform: "gitea",
logLevel: "debug", logFileLevel: 'warn',
logLevel: "info",
logFile: '/tmp/renovate.log',
onboarding: true, onboarding: true,
onboardingConfig: { onboardingConfig: {
extends: ["config:base"], extends: ["config:base"],

View File

@ -13,28 +13,19 @@ services:
mode: replicated mode: replicated
replicas: 0 replicas: 0
labels: labels:
- "traefik.enable=true"
- "swarm.cronjob.enable=true" - "swarm.cronjob.enable=true"
- "swarm.cronjob.schedule=*/1 * * * *" # testing - "swarm.cronjob.schedule=* * * * *"
# - "swarm.cronjob.schedule=0 8 * * *" # prod setup
- "swarm.cronjob.skip-running=false" - "swarm.cronjob.skip-running=false"
- "swarm.cronjob.replicas=1"
restart_policy: restart_policy:
condition: none condition: none
docker-cron-job: docker-cron-job:
volumes: volumes:
- "/var/run/docker.sock:/var/run/docker.sock" - "/var/run/docker.sock:/var/run/docker.sock"
environment:
- TZ=Europe/Amsterdam
- LOG_LEVEL=info
- LOG_JSON=false
deploy: deploy:
placement: placement:
constraints: constraints:
- node.role == manager - node.role == manager
labels:
- "traefik.enable=true"
configs: configs:
config-js-prod-v1: config-js-prod-v1: