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:
|
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
|
||||||
|
Reference in New Issue
Block a user