D
Dokploy12mo ago
acidlake

laravel php upload size

Hi everybody, wondering how can i increase the upload size on an application built with laravel, im using nixpacks a build, but i don't have information on how to increase the upload size, thanks
11 Replies
Siumauricio
Siumauricio12mo ago
Is there any error that nixpacks is giving to you?
acidlake
acidlakeOP12mo ago
hi, now, i succesfully deployed the app without any issue, is live and everything, however i can't upload files bigger than 1MB, and im not sure exactly where i should change that option, i even put a php.ini in my laravel root but still not found where i should change that, also i faced some folder permission issues with laravel but i manage to fix that
Siumauricio
Siumauricio12mo ago
Hmm that sound something related to a laravel itself, have you search if you need in the config of laravel or something to increase the upload size ?
acidlake
acidlakeOP12mo ago
yes, if i deploy it normal without docker i dont have any issues with the uploads and file sizes, also i was trying to switch to use docker compose file now, i have this error, which is weird since it works on coolify and local using docker
acidlake
acidlakeOP12mo ago
No description
acidlake
acidlakeOP12mo ago
No description
acidlake
acidlakeOP12mo ago
and this is my docker-compose
No description
acidlake
acidlakeOP12mo ago
if i deploy using nixpack everything works great except for the upload file size limitations
Siumauricio
Siumauricio12mo ago
Yeah I mean you are using application type to deploy a docker compose You need to create a compose type In the same dropdown when you create a application , database it will appear a compose option
Siumauricio
Siumauricio12mo ago
Check this, is the interface for docker compose is kinda different https://docs.dokploy.com/docker-compose/example/
Dokploy
Docker Compose Example
Learn how to use Docker Compose with Dokploy
acidlake
acidlakeOP12mo ago
thanks, let me take a look

Did you find this page helpful?