Hacking away at this, still not working
This commit is contained in:
parent
849ab3ac75
commit
d388dd0559
@ -2,7 +2,7 @@ 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: "info",
|
logLevel: "debug",
|
||||||
onboarding: true,
|
onboarding: true,
|
||||||
onboardingConfig: {
|
onboardingConfig: {
|
||||||
extends: ["config:base"],
|
extends: ["config:base"],
|
||||||
|
@ -7,7 +7,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- RENOVATE_CONFIG_FILE=/etc/config.js
|
- RENOVATE_CONFIG_FILE=/etc/config.js
|
||||||
configs:
|
configs:
|
||||||
- source: config-js-prod-v1
|
- source: config-js-prod-v2
|
||||||
target: /etc/config.js
|
target: /etc/config.js
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
@ -18,10 +18,17 @@ services:
|
|||||||
- "swarm.cronjob.schedule=*/1 * * * *" # testing
|
- "swarm.cronjob.schedule=*/1 * * * *" # testing
|
||||||
# - "swarm.cronjob.schedule=0 8 * * *" # prod setup
|
# - "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:
|
||||||
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Amsterdam
|
||||||
|
- LOG_LEVEL=info
|
||||||
|
- LOG_JSON=false
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
@ -30,7 +37,7 @@ services:
|
|||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
|
||||||
configs:
|
configs:
|
||||||
config-js-prod-v1:
|
config-js-prod-v2:
|
||||||
file: configs/prod/config.js.tmpl
|
file: configs/prod/config.js.tmpl
|
||||||
template_driver: golang
|
template_driver: golang
|
||||||
|
|
||||||
|
@ -6,10 +6,4 @@ services:
|
|||||||
image: "renovate/renovate:19.230"
|
image: "renovate/renovate:19.230"
|
||||||
|
|
||||||
docker-cron-job:
|
docker-cron-job:
|
||||||
image: "crazymax/swarm-cronjob"
|
image: "crazymax/swarm-cronjob:latest"
|
||||||
volumes:
|
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
|
||||||
environment:
|
|
||||||
- TZ=Europe/Amsterdam
|
|
||||||
- LOG_LEVEL=info
|
|
||||||
- LOG_JSON=false
|
|
||||||
|
Reference in New Issue
Block a user