feat: setup custom webdevops Dockerfile with explicit PHP 8.4 Zemailnator extensions and configs
This commit is contained in:
6
dockerizer/php.ini
Normal file
6
dockerizer/php.ini
Normal file
@@ -0,0 +1,6 @@
|
||||
date.time = UTC
|
||||
display_errors = Off
|
||||
memory_limit = 128M
|
||||
max_execution_time = 60
|
||||
post_max_size = 32M
|
||||
upload_max_filesize = 16M
|
||||
25
dockerizer/supervisor.laravel.conf
Normal file
25
dockerizer/supervisor.laravel.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
[program:laravel-worker]
|
||||
process_name=%(program_name)s_%(process_num)02d
|
||||
command=php /code/artisan queue:work --sleep=3 --tries=3 --max-time=3600
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stopasgroup=true
|
||||
killasgroup=true
|
||||
user=application
|
||||
numprocs=1
|
||||
redirect_stderr=true
|
||||
stdout_logfile=/docker.stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
|
||||
[program:laravel-scheduler]
|
||||
process_name=%(program_name)s_%(process_num)02d
|
||||
command=php /code/artisan schedule:work
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stopasgroup=true
|
||||
killasgroup=true
|
||||
user=application
|
||||
numprocs=1
|
||||
redirect_stderr=true
|
||||
stdout_logfile=/docker.stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
25
dockerizer/vhost.conf
Normal file
25
dockerizer/vhost.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
server {
|
||||
listen 80 default_server;
|
||||
|
||||
server_name _;
|
||||
|
||||
root "/code/public";
|
||||
index index.php;
|
||||
|
||||
client_max_body_size 50m;
|
||||
|
||||
access_log /docker.stdout;
|
||||
error_log /docker.stderr warn;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
fastcgi_read_timeout 600;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user