Upgrade config to new situation/conventions

This commit is contained in:
Luke Murphy 2020-09-13 09:52:57 +02:00
parent 9a55e01e09
commit de574284dc
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -5,10 +5,10 @@ services:
renovate:
image: "renovate/renovate:slim"
configs:
- source: config-js-prod-v1
- source: config_js
target: /usr/src/app/config.js
secrets:
- api-token-v1
- api_token
healthcheck:
disable: true
volumes:
@ -18,15 +18,17 @@ services:
replicas: 0
labels:
- "swarm.cronjob.enable=true"
- "swarm.cronjob.schedule=*/30 * * * *"
- "swarm.cronjob.schedule=*/1 * * * *"
restart_policy:
condition: none
configs:
config-js-prod-v1:
config_js:
name: config_js_v1
file: config.js.tmpl
template_driver: golang
secrets:
api-token-v1:
api_token:
name: api_token_v1
external: true