version: "3.8"
services:
app:
image: "renovate/renovate:24.119.21-slim"
environment:
LOG_LEVEL: info
configs:
- source: config_js
target: /usr/src/app/config.js
secrets:
- api_token
healthcheck:
disable: true
deploy:
mode: replicated
replicas: 0
labels:
- "swarm.cronjob.enable=true"
- "swarm.cronjob.schedule=0 9 * * 1-5"
- coop-cloud.${STACK_NAME}.app.version=24.98.9-slim-d3db1c25
restart_policy:
condition: none
config_js:
name: config_js_v1
file: config.js.tmpl
template_driver: golang
api_token:
name: api_token_v1
external: true