- Fix restart_policy in Service config.
- Tweaked the upgrade process a bit.
- Refactor and cosmetic surgery here and there.
- Track Service config changes and allow redeploy if it changes.
This commit is contained in:
Andras Bacsai
2021-03-30 21:49:46 +02:00
committed by GitHub
parent 4e69c56bd3
commit b91bfa21b3
18 changed files with 181 additions and 125 deletions

View File

@@ -35,7 +35,7 @@ if (program.check) {
} else if (program.type === 'proxy') {
shell.exec('docker service rm coollabs-coolify_proxy')
}
if (program.type !== 'upgrade') shell.exec('set -a && source .env && set +a && envsubst < install/coolify-template.yml | docker stack deploy -c - coollabs-coolify', { silent: !program.debug, shell: '/bin/bash' })
shell.exec('set -a && source .env && set +a && envsubst < install/coolify-template.yml | docker stack deploy -c - coollabs-coolify', { silent: !program.debug, shell: '/bin/bash' })
}
function checkConfig () {