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