Hacking away at this, still not working

This commit is contained in:
Luke Murphy 2020-05-05 17:11:24 +02:00
parent 849ab3ac75
commit d388dd0559
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
3 changed files with 11 additions and 10 deletions

View File

@ -2,7 +2,7 @@ module.exports = {
endpoint: "https://git.autonomic.zone/api/v1/",
token: "{{ secret "api-token-v1" }}",
platform: "gitea",
logLevel: "info",
logLevel: "debug",
onboarding: true,
onboardingConfig: {
extends: ["config:base"],

View File

@ -7,7 +7,7 @@ services:
environment:
- RENOVATE_CONFIG_FILE=/etc/config.js
configs:
- source: config-js-prod-v1
- source: config-js-prod-v2
target: /etc/config.js
deploy:
mode: replicated
@ -18,10 +18,17 @@ services:
- "swarm.cronjob.schedule=*/1 * * * *" # testing
# - "swarm.cronjob.schedule=0 8 * * *" # prod setup
- "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:
@ -30,7 +37,7 @@ services:
- "traefik.enable=true"
configs:
config-js-prod-v1:
config-js-prod-v2:
file: configs/prod/config.js.tmpl
template_driver: golang

View File

@ -6,10 +6,4 @@ services:
image: "renovate/renovate:19.230"
docker-cron-job:
image: "crazymax/swarm-cronjob"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
environment:
- TZ=Europe/Amsterdam
- LOG_LEVEL=info
- LOG_JSON=false
image: "crazymax/swarm-cronjob:latest"