Sign inSign up

eslym/laravel

By eslym

•Updated over 1 year ago

Image
0

10K+

eslym/laravel repository overview

⁠Laravel Docker

⁠Usage

docker run -d \
    -v /path/to/your/laravel:/var/www/html \
    -p 8080:80 \
    -e LARAVEL_STACK=web,cron,queue \
    eslym/laravel:latest

⁠Environment Variables

Environment VariableTarget File/SectionConfig KeyDescription (if known)
FPM_MODEphp-fpm poolpmFPM process manager mode
FPM_MAX_CHILDRENphp-fpm poolpm.max_childrenMax child processes
FPM_START_SERVERSphp-fpm poolpm.start_serversNumber of startup servers
FPM_MIN_SPARE_SERVERSphp-fpm poolpm.min_spare_serversMin spare servers
FPM_MAX_SPARE_SERVERSphp-fpm poolpm.max_spare_serversMax spare servers
FPM_MAX_SPAWN_RATEphp-fpm poolpm.max_spawn_rateMax spawn rate
FPM_PROCESS_IDLE_TIMEOUTphp-fpm poolpm.process_idle_timeoutIdle timeout
FPM_MAX_REQUESTphp-fpm poolpm.max_requestsMax requests per child
PHP_UPLOAD_MAX_FILESIZEphp.iniupload_max_filesizeMax upload file size
PHP_MAX_FILE_UPLOADSphp.inimax_file_uploadsMax number of file uploads
PHP_POST_MAX_SIZEphp.inipost_max_sizeMax POST data size
PHP_ERROR_REPORTINGphp.inierror_reportingError reporting level
PHP_DISPLAY_ERRORSphp.inidisplay_errorsDisplay errors
PHP_MAX_EXECUTION_TIMEphp.inimax_execution_timeMax script execution time
PHP_MEMORY_LIMITphp.inimemory_limitMemory limit
PHP_SESSION_SAVEPATHphp.inisession.save_pathSession save path
PHP_SESSION_NAMEphp.inisession.nameSession name
PHP_SESSION_AUTO_STARTphp.inisession.auto_startAuto start session
PHP_SESSION_GC_PROBABILITYphp.inisession.gc_probabilityGC probability
PHP_SESSION_GC_DIVISORphp.inisession.gc_divisorGC divisor
PHP_SESSION_GC_MAXLIFETIMEphp.inisession.gc_maxlifetimeGC max lifetime
PHP_SESSION_COOKIE_LIFETIMEphp.inisession.cookie_lifetimeSession cookie lifetime
PHP_SESSION_COOKIE_PATHphp.inisession.cookie_pathSession cookie path
PHP_SESSION_COOKIE_DOMAINphp.inisession.cookie_domainSession cookie domain
PHP_SESSION_COOKIE_SECUREphp.inisession.cookie_secureSession cookie secure
PHP_SESSION_COOKIE_HTTPONLYphp.inisession.cookie_httponlySession cookie httponly
PHP_SESSION_COOKIE_SAMESITEphp.inisession.cookie_samesiteSession cookie samesite
LARAVEL_STACKsupervisor config(used for stack selection)Comma-separated list of stacks

⁠Laravel Stacks

Stack NameDescription
webWeb server with PHP-FPM
cronCron jobs for scheduled tasks
queueQueue worker for background jobs
horizonLaravel Horizon for queue management

Note

No need to use `queue` when you `horizon` is being used, as Horizon manages the queue workers automatically.

Tag summary

Content type

Image

Digest

sha256:78aa6092d…

Size

182.8 MB

Last updated

over 1 year ago

docker pull eslym/laravel:php8.3