📜 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

This commit is contained in:
Danny Avila 2025-11-14 13:53:22 -05:00
parent d844754edf
commit 61c4736125
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956

View file

@ -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 :)");
})(); })();