From a367485203cb1fcec49d794ea6923fb9207345cc Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Thu, 29 Jan 2026 06:36:08 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Enhance=20deployment=20script=20?= =?UTF-8?q?to=20include=20backend=20support,=20multi-container=20Docker=20?= =?UTF-8?q?management,=20and=20extended=20health=20checks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/utils/deploy-pokedex.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/code/utils/deploy-pokedex.js b/code/utils/deploy-pokedex.js index 259b592..59ca008 100644 --- a/code/utils/deploy-pokedex.js +++ b/code/utils/deploy-pokedex.js @@ -1,16 +1,16 @@ /** * Pokedex.Online Deployment Script * - * Deploys the Vue 3 pokedex.online application to Synology NAS via SSH. + * Deploys the Vue 3 pokedex.online application with backend to Synology NAS via SSH. * - Builds the Vue 3 application locally (npm run build) * - Connects to Synology using configured SSH hosts - * - Transfers built files and Docker configuration via SFTP - * - Manages Docker deployment with rollback on failure - * - Performs health check to verify deployment + * - Transfers built files, backend code, and Docker configuration via SFTP + * - Manages multi-container Docker deployment (frontend + backend) with rollback on failure + * - Performs health checks on both frontend and backend containers * * Usage: - * node code/utils/deploy-pokedex.js [--target internal|external] [--port 8080] [--ssl-port 8443] - * npm run deploy:pokedex -- --target external --port 8081 --ssl-port 8444 + * node code/utils/deploy-pokedex.js [--target internal|external] [--port 8080] [--ssl-port 8443] [--backend-port 3000] + * npm run deploy:pokedex -- --target external --port 8081 --ssl-port 8444 --backend-port 3001 * * Examples: * npm run deploy:pokedex # Deploy to internal (10.0.0.81) on port 8080