mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 08:20:14 +01:00
📜 chore: Update deployed-update.js to use 'docker compose' syntax
Some checks failed
Docker Dev Branch Images Build / build (Dockerfile, lc-dev, node) (push) Has been cancelled
Docker Dev Branch Images Build / build (Dockerfile.multi, lc-dev-api, api-build) (push) Has been cancelled
Docker Dev Images Build / build (Dockerfile, librechat-dev, node) (push) Has been cancelled
Docker Dev Images Build / build (Dockerfile.multi, librechat-dev-api, api-build) (push) Has been cancelled
Sync Locize Translations & Create Translation PR / Sync Translation Keys with Locize (push) Has been cancelled
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Has been cancelled
Some checks failed
Docker Dev Branch Images Build / build (Dockerfile, lc-dev, node) (push) Has been cancelled
Docker Dev Branch Images Build / build (Dockerfile.multi, lc-dev-api, api-build) (push) Has been cancelled
Docker Dev Images Build / build (Dockerfile, librechat-dev, node) (push) Has been cancelled
Docker Dev Images Build / build (Dockerfile.multi, librechat-dev-api, api-build) (push) Has been cancelled
Sync Locize Translations & Create Translation PR / Sync Translation Keys with Locize (push) Has been cancelled
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Has been cancelled
This commit is contained in:
parent
d844754edf
commit
61c4736125
1 changed files with 5 additions and 5 deletions
|
|
@ -36,7 +36,7 @@ const shouldRebase = process.argv.includes('--rebase');
|
||||||
}
|
}
|
||||||
|
|
||||||
console.purple('Removing previously made Docker container...');
|
console.purple('Removing previously made Docker container...');
|
||||||
const downCommand = 'sudo docker-compose -f ./deploy-compose.yml down';
|
const downCommand = 'sudo docker compose -f ./deploy-compose.yml down';
|
||||||
console.orange(downCommand);
|
console.orange(downCommand);
|
||||||
execSync(downCommand, { stdio: 'inherit' });
|
execSync(downCommand, { stdio: 'inherit' });
|
||||||
|
|
||||||
|
|
@ -54,15 +54,15 @@ const shouldRebase = process.argv.includes('--rebase');
|
||||||
});
|
});
|
||||||
|
|
||||||
console.purple('Pulling latest LibreChat images...');
|
console.purple('Pulling latest LibreChat images...');
|
||||||
const pullCommand = 'sudo docker-compose -f ./deploy-compose.yml pull api';
|
const pullCommand = 'sudo docker compose -f ./deploy-compose.yml pull api';
|
||||||
console.orange(pullCommand);
|
console.orange(pullCommand);
|
||||||
execSync(pullCommand, { stdio: 'inherit' });
|
execSync(pullCommand, { stdio: 'inherit' });
|
||||||
|
|
||||||
let startCommand = 'sudo docker-compose -f ./deploy-compose.yml up -d';
|
let startCommand = 'sudo docker compose -f ./deploy-compose.yml up -d';
|
||||||
console.green('Your LibreChat app is now up to date! Start the app with the following command:');
|
console.green('Your LibreChat app is now up to date! Start the app with the following command:');
|
||||||
console.purple(startCommand);
|
console.purple(startCommand);
|
||||||
console.orange(
|
console.orange(
|
||||||
'Note: it\'s also recommended to clear your browser cookies and localStorage for LibreChat to assure a fully clean installation.',
|
"Note: it's also recommended to clear your browser cookies and localStorage for LibreChat to assure a fully clean installation.",
|
||||||
);
|
);
|
||||||
console.orange('Also: Don\'t worry, your data is safe :)');
|
console.orange("Also: Don't worry, your data is safe :)");
|
||||||
})();
|
})();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue