Add Docker Compose configuration and environment files for local and production setups
- Created docker-compose.docker-local.yml for local testing of frontend and backend services. - Added .env.development for development environment configuration. - Introduced .env.docker-local for local Docker environment settings. - Added .env.production for production environment configuration for Synology deployment.
This commit is contained in:
@@ -1,3 +1,34 @@
|
||||
/**
|
||||
* DEPRECATED: Use deploy.sh instead
|
||||
*
|
||||
* This utility is being phased out in favor of the comprehensive deploy.sh script
|
||||
* located at code/websites/pokedex.online/deploy.sh
|
||||
*
|
||||
* Migration guide:
|
||||
* Old: node code/utils/deploy-pokedex.js --target internal
|
||||
* New: cd code/websites/pokedex.online && ./deploy.sh --target production
|
||||
*
|
||||
* Old: node code/utils/deploy-pokedex.js --target local
|
||||
* New: cd code/websites/pokedex.online && ./deploy.sh --target local
|
||||
*
|
||||
* The new deploy.sh provides:
|
||||
* - Environment-specific builds using Vite modes
|
||||
* - Automatic build verification
|
||||
* - Pre-deployment validation
|
||||
* - Integrated testing
|
||||
* - Better error handling
|
||||
*
|
||||
* This file will be removed in a future update.
|
||||
*/
|
||||
|
||||
console.warn('⚠️ WARNING: deploy-pokedex.js is DEPRECATED');
|
||||
console.warn(' Please use deploy.sh instead:');
|
||||
console.warn(' cd code/websites/pokedex.online');
|
||||
console.warn(' ./deploy.sh --target local # Local Docker testing');
|
||||
console.warn(' ./deploy.sh --target production # Deploy to Synology');
|
||||
console.warn('');
|
||||
process.exit(1);
|
||||
|
||||
/**
|
||||
* Pokedex.Online Deployment Script
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user