This repository has been archived on 2022-08-30. You can view files and clone it, but cannot push or open issues or pull requests.
2020-05-05 14:17:17 +00:00
|
|
|
---
|
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
renovate:
|
2020-09-13 08:52:09 +00:00
|
|
|
image: "renovate/renovate:slim"
|
2020-05-05 14:17:17 +00:00
|
|
|
configs:
|
2020-09-13 07:52:57 +00:00
|
|
|
- source: config_js
|
2020-05-07 08:45:31 +00:00
|
|
|
target: /usr/src/app/config.js
|
2020-05-07 09:15:15 +00:00
|
|
|
secrets:
|
2020-09-13 07:52:57 +00:00
|
|
|
- api_token
|
2020-05-07 07:45:18 +00:00
|
|
|
healthcheck:
|
|
|
|
disable: true
|
2020-05-07 09:24:52 +00:00
|
|
|
volumes:
|
|
|
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
2020-05-05 14:17:17 +00:00
|
|
|
deploy:
|
|
|
|
mode: replicated
|
|
|
|
replicas: 0
|
|
|
|
labels:
|
|
|
|
- "swarm.cronjob.enable=true"
|
2020-09-15 06:51:12 +00:00
|
|
|
- "swarm.cronjob.schedule=0 9 * * 1-5"
|
2020-05-05 14:17:17 +00:00
|
|
|
restart_policy:
|
|
|
|
condition: none
|
|
|
|
|
|
|
|
configs:
|
2020-09-13 07:52:57 +00:00
|
|
|
config_js:
|
2020-10-27 22:51:52 +00:00
|
|
|
name: config_js_v1
|
2020-05-10 22:09:11 +00:00
|
|
|
file: config.js.tmpl
|
2020-05-05 14:17:17 +00:00
|
|
|
template_driver: golang
|
|
|
|
|
|
|
|
secrets:
|
2020-09-13 07:52:57 +00:00
|
|
|
api_token:
|
|
|
|
name: api_token_v1
|
2020-05-05 14:17:17 +00:00
|
|
|
external: true
|