v1.0.2 (#10)
- Fix restart_policy in Service config. - Tweaked the upgrade process a bit. REVERTED. - Refactor and cosmetic surgery here and there. - Track Service config changes and allow redeploy if it changes.
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
const { docker } = require('../../docker')
|
||||
const { execShellAsync, delay } = require('../../common')
|
||||
const { execShellAsync } = require('../../common')
|
||||
const Deployment = require('../../../models/Deployment')
|
||||
|
||||
async function purgeOldThings () {
|
||||
try {
|
||||
// TODO: Tweak this, because it deletes coolify-base, so the upgrade will be slow
|
||||
await docker.engine.pruneImages()
|
||||
await docker.engine.pruneContainers()
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user