Upgrade config to new situation/conventions
This commit is contained in:
parent
9a55e01e09
commit
de574284dc
12
compose.yml
12
compose.yml
@ -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
|
||||
|
Reference in New Issue
Block a user