30 lines
586 B
YAML
30 lines
586 B
YAML
---
|
|
version: "3.8"
|
|
|
|
services:
|
|
renovate:
|
|
command: renovate
|
|
environment:
|
|
- RENOVATE_CONFIG_FILE=/etc/config.js
|
|
configs:
|
|
- source: config-js-prod-v1
|
|
target: /etc/config.js
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 0
|
|
labels:
|
|
- "swarm.cronjob.enable=true"
|
|
- "swarm.cronjob.schedule=* * * * *"
|
|
- "swarm.cronjob.skip-running=false"
|
|
restart_policy:
|
|
condition: none
|
|
|
|
configs:
|
|
config-js-prod-v1:
|
|
file: configs/prod/config.js.tmpl
|
|
template_driver: golang
|
|
|
|
secrets:
|
|
api-token-v1:
|
|
external: true
|