Commit Graph

17 Commits

Author SHA1 Message Date
fernando 19a236818e Carga y configuración de platilla de api de whats app 2026-05-22 22:22:36 -06:00
fernando 750321571c Fix: Dockerfile extencion php ext install 2026-05-21 23:26:22 -06:00
fernando b574ae1ed3 Fix Bad Gateway: PHP-FPM via Unix socket + logs en supervisord 2026-05-11 18:23:16 -06:00
fernando 3fe47d5b1d Modificación directa a php comandos para incremento de memoria de subida de archivos 2026-05-11 02:33:52 -06:00
fernando b76bff834b Modificacion docker file sobre run build y modificación de variables completas para websocket 2026-05-11 02:12:44 -06:00
Fernando f54acb8675 Refactor directory creation in Dockerfile
Consolidate directory creation commands and clean up Dockerfile.
2026-05-11 01:07:51 -06:00
fernando 27af72b26e Force PHP upload limits via -d flags and fix Dockerfile layer order
Pass upload_max_filesize=50M and post_max_size=55M directly with -d
flags on every php process in supervisord. This is guaranteed to apply
regardless of ini scanning order or Docker layer caching.

Also move COPY docker/php.ini before COPY . . so the conf.d file is
always placed before the app code is copied, ensuring Docker does not
use a stale cached layer that skips the ini file.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09 08:20:46 -06:00
fernando 9851c887ec Raise all file upload limits to 50MB across the stack
PHP (docker/php.ini via conf.d — loaded automatically, no -c flag needed):
  upload_max_filesize 2M -> 50M
  post_max_size       8M -> 55M

Nginx: client_max_body_size 25M -> 55M

Livewire (config/livewire.php published):
  temporary_file_upload rules max 12MB -> 50MB (max:51200)

Laravel validation rules (all in KB):
  profile photo:        5120 (5MB)  -> 51200 (50MB)
  posts image:          5120 (5MB)  -> 51200 (50MB)
  anuncios image:       5120 (5MB)  -> 51200 (50MB)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09 08:12:33 -06:00
fernando ff5b6f5eec Fix file upload limit over 2MB in production with HTTPS
- Use printf instead of echo to correctly write php.ini with newlines
  (Alpine ash echo does not interpret \n, leaving the file malformed
  and PHP falling back to its 2MB default)
- Add nginx.conf with client_max_body_size 25M as front-end proxy
- Start nginx on port 8080 via supervisord; move artisan serve to
  internal port 8081 so nginx can proxy requests with proper limits

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09 07:41:52 -06:00
fernando e7ca2c29f0 Modificacion del supervisor y docker file postmaxSize 2026-05-09 07:26:47 -06:00
Fernando 9697a6b20a Configure PHP upload size limits in Dockerfile
Add PHP upload size configuration to Dockerfile
2026-05-09 02:12:06 -06:00
Fernando 8040e8e8fe Add Livewire temporary storage directory creation 2026-05-09 02:11:23 -06:00
Fernando 71b4e423bc Add command to link storage in Dockerfile 2026-05-09 02:01:12 -06:00
Fernando 59b7ff87f3 Add pcntl extension to Dockerfile
Added pcntl extension installation to Dockerfile.
2026-05-02 21:43:46 -06:00
Fernando 8c9329cd10 Update Dockerfile to use supervisord for process management 2026-05-02 21:34:55 -06:00
Fernando 0abf1a5fb0 Install bcmath extension in Dockerfile
Added bcmath extension installation to Dockerfile.
2026-05-02 19:44:24 -06:00
Fernando 1d91bbc2e7 Dockerfile added 2026-05-02 19:21:56 -06:00