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:
|
2022-05-30 07:02:01 +00:00
|
|
|
image: "renovate/renovate:32.68.1-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:
|
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
|
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:
|
2020-09-13 07:52:57 +00:00
|
|
|
- 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:
|
2020-09-13 07:52:57 +00:00
|
|
|
config_js:
|
2022-04-01 08:46:29 +00:00
|
|
|
name: renovate_config_js_v3
|
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:
|
2020-09-13 07:52:57 +00:00
|
|
|
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
|