---
version: "3.8"
services:
renovate:
configs:
- source: config-js-prod-v1
target: /usr/src/app/config.js
healthcheck:
disable: true
deploy:
mode: replicated
replicas: 0
labels:
- "swarm.cronjob.enable=true"
- "swarm.cronjob.schedule=* * * * *"
restart_policy:
condition: none
config-js-prod-v1:
file: configs/prod/config.js.tmpl
template_driver: golang
secrets:
api-token-v1:
external: true