Commit Graph
6 Commits
Author SHA1 Message Date
Parsa Production Ops 3fb1e417c6 fix(ops): reconcile CI backend wrapper and gate locked dependency image before swap
Deploy Backend / deploy (push) Successful in 1m17s
2026-10-26 05:52:27 +00:00
Parsa Aghayi 37f994bec1 Make uploaded images actually reachable in the container
Two things the image upload feature needs at runtime were missing.

public/storage is gitignored, so it never reaches the build context, and
nothing in the image created it. Storage::url() returns .../storage/media/x.jpg,
so nginx 404s every file the admin uploaded even though the upload succeeded
and the URL was stored in the record. storage:link at build time fixes it;
the ln fallback covers artisan refusing to boot without APP_KEY.

PHP's own ceiling was the other half. StoreMediaRequest accepts 4 MB but
upload_max_filesize defaults to 2M, so larger files are discarded before
Laravel validates them and the admin just sees a 422 for a valid image.
Next's Server Action limit was already raised to 8 MB, so 8M keeps the
whole chain consistent. post_max_size must sit above upload_max_filesize
or the extra form fields are dropped along with $_FILES.

The ini directory is resolved at build time rather than hardcoded, and the
effective values are asserted so a silently mislocated ini fails the build.
2026-10-01 19:02:44 -04:00
parsa aghaei d86aef2bec fix: remove ENV HTTP_PROXY, offline install when vendor exists 2026-06-28 16:56:28 +03:30
parsa aghaei 6b81bf0afe fix: only set composer proxy when vendor absent, use offline install otherwise 2026-06-28 16:52:12 +03:30
DevOps 4584645518 restore Nexus mirror, test CI/CD 2026-06-28 10:51:19 +00:00
DevOps ff1fc2afd0 fix: remove Nexus mirror, use packagist.org directly via proxy 2026-06-28 10:30:23 +00:00