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.
renovate-bot/compose.yml

48 lines
1.2 KiB
YAML
Raw Normal View History

2021-06-03 09:02:02 +00:00
---
2020-05-05 14:17:17 +00:00
version: "3.8"
services:
2021-02-15 10:30:27 +00:00
app:
image: "renovate/renovate:24.119.22-slim"
2021-02-15 10:15:08 +00:00
environment:
2021-02-15 10:42:13 +00:00
LOG_LEVEL: info
2021-06-03 09:00:08 +00:00
GITHUB_COM_TOKEN_FILE: /run/secrets/github_token
2020-05-05 14:17:17 +00:00
configs:
- source: config_js
2020-05-07 08:45:31 +00:00
target: /usr/src/app/config.js
2021-06-03 09:00:08 +00:00
- source: entrypoint
target: /docker-entrypoint.sh
mode: 0555
entrypoint: /docker-entrypoint.sh
command: renovate
2020-05-07 09:15:15 +00:00
secrets:
- api_token
2021-06-03 09:00:08 +00:00
- github_token
2020-05-07 07:45:18 +00:00
healthcheck:
disable: true
2020-05-05 14:17:17 +00:00
deploy:
mode: replicated
replicas: 0
labels:
- "swarm.cronjob.enable=true"
2021-06-03 09:00:08 +00:00
# Note(decentral1se): every minute, testing
# - "swarm.cronjob.schedule=* * * * *"
- "swarm.cronjob.schedule=0 9 * * 1-5" # office hours
2021-04-04 22:39:04 +00:00
- coop-cloud.${STACK_NAME}.app.version=24.98.9-slim-d3db1c25
2020-05-05 14:17:17 +00:00
restart_policy:
condition: none
configs:
config_js:
2021-06-03 09:02:02 +00:00
name: renovate_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
2021-06-03 09:01:19 +00:00
entrypoint:
name: renovate_entrypoint_v1
file: entrypoint.sh
2020-05-05 14:17:17 +00:00
secrets:
api_token:
2021-06-03 09:02:02 +00:00
name: renovate_api_token_v1
2020-05-05 14:17:17 +00:00
external: true
2021-06-03 09:00:08 +00:00
github_token:
2021-06-03 09:02:02 +00:00
name: renovate_github_token_v1
2021-06-03 09:00:08 +00:00
external: true