renovate/compose.yml

35 lines
646 B
YAML
Raw Normal View History

2020-05-05 14:17:17 +00:00
---
version: "3.8"
services:
2021-12-20 23:59:26 +00:00
app:
2020-05-10 22:09:11 +00:00
image: "renovate/renovate:slim"
2020-05-05 14:17:17 +00:00
configs:
2020-09-13 07:52:31 +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:31 +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-13 07:52:31 +00:00
- "swarm.cronjob.schedule=*/1 * * * *"
2020-05-05 14:17:17 +00:00
restart_policy:
condition: none
configs:
2020-09-13 07:52:31 +00:00
config_js:
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:31 +00:00
api_token:
name: api_token_v1
2020-05-05 14:17:17 +00:00
external: true