Refactor Docker setup for Laravel 5.0 compatibility and optimize deployment process
- Updated Dockerfile configurations for various environments (alpine, basic, cloudrun, minimal, simple, test) to ensure compatibility with Laravel 5.0 and PHP 5.6. - Added PHP compatibility documentation outlining mcrypt requirements and upgrade paths. - Created cloudbuild.yaml for Google Cloud Build integration to streamline deployment to Cloud Run. - Introduced docker-compose.local.yml for local development with MySQL and Redis services. - Enhanced rebuild.sh script for easier local development and migration handling. - Updated Laravel Blade views to correct asset paths. - Added start-local.sh script for quick local setup and service management.
This commit is contained in:
63
.dockerignore
Normal file
63
.dockerignore
Normal file
@@ -0,0 +1,63 @@
|
||||
# Git files
|
||||
.git
|
||||
.gitignore
|
||||
.gitattributes
|
||||
|
||||
# Docker files
|
||||
Dockerfile*
|
||||
docker-compose*.yml
|
||||
.dockerignore
|
||||
|
||||
# Documentation
|
||||
README.md
|
||||
DEPLOYMENT_GUIDE.md
|
||||
*.md
|
||||
|
||||
# Development files
|
||||
.env.example
|
||||
.env.local
|
||||
.env.testing
|
||||
|
||||
# IDE files
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
|
||||
# OS files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Node modules and build files
|
||||
node_modules/
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# Laravel specific
|
||||
/vendor
|
||||
/storage/logs/*
|
||||
!/storage/logs/.gitkeep
|
||||
/storage/framework/cache/*
|
||||
!/storage/framework/cache/.gitkeep
|
||||
/storage/framework/sessions/*
|
||||
!/storage/framework/sessions/.gitkeep
|
||||
/storage/framework/views/*
|
||||
!/storage/framework/views/.gitkeep
|
||||
/bootstrap/cache/*
|
||||
!/bootstrap/cache/.gitkeep
|
||||
|
||||
# Testing
|
||||
/tests
|
||||
phpunit.xml
|
||||
phpspec.yml
|
||||
|
||||
# Build tools
|
||||
gulpfile.js
|
||||
package.json
|
||||
package-lock.json
|
||||
yarn.lock
|
||||
|
||||
# Scripts
|
||||
start-local.sh
|
||||
rebuild.sh
|
||||
Reference in New Issue
Block a user