feat: enterprise-grade Docker setup for Dokploy deployment
- Add multi-stage Dockerfile (node-builder, composer-builder, production) - Add Nginx config with WebSocket proxy at /_ws path - Add PHP-FPM pool config, php.ini with OPcache tuning - Add Supervisord managing 7 processes: php-fpm, nginx, horizon, scheduler, reverb, pulse-check, pulse-work - Add entrypoint.sh with auto-migration, config caching, storage setup - Add .dockerignore and .env.production.example - Install laravel/horizon for production queue management and dashboard - Install laravel/pulse for production monitoring with Reverb integration - Configure TrustProxies middleware for HTTPS behind Traefik - Add horizon:snapshot to scheduler - Add VITE_REVERB_PATH for WebSocket path routing through Nginx
This commit is contained in:
24
.dockerignore
Normal file
24
.dockerignore
Normal file
@@ -0,0 +1,24 @@
|
||||
.git
|
||||
.idea
|
||||
.vscode
|
||||
.agents
|
||||
.ai
|
||||
.claude
|
||||
.gemini
|
||||
.junie
|
||||
node_modules
|
||||
vendor
|
||||
npm-debug.log
|
||||
yarn-error.log
|
||||
.env
|
||||
.env.*
|
||||
*.md
|
||||
!README.md
|
||||
storage/logs/*
|
||||
storage/framework/cache/*
|
||||
storage/framework/sessions/*
|
||||
storage/framework/views/*
|
||||
tests/
|
||||
phpunit.xml
|
||||
phpunit.result.cache
|
||||
docker-compose.yml
|
||||
Reference in New Issue
Block a user