mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
v5.0.0 update
This commit is contained in:
7
docker-compose/cron.dockerfile
Normal file
7
docker-compose/cron.dockerfile
Normal file
@ -0,0 +1,7 @@
|
||||
FROM php:7.4-fpm-alpine
|
||||
|
||||
RUN docker-php-ext-install pdo pdo_mysql
|
||||
|
||||
COPY docker-compose/crontab /etc/crontabs/root
|
||||
|
||||
CMD ["crond", "-f"]
|
||||
1
docker-compose/crontab
Normal file
1
docker-compose/crontab
Normal file
@ -0,0 +1 @@
|
||||
* * * * * cd /var/www && php artisan schedule:run >> /dev/stdout 2>&1
|
||||
@ -13,9 +13,10 @@ server {
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_read_timeout 300;
|
||||
}
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
gzip_static on;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
file_uploads = On
|
||||
upload_max_filesize = 64M
|
||||
post_max_size = 64M
|
||||
post_max_size = 64M
|
||||
max_execution_time = 300
|
||||
|
||||
Reference in New Issue
Block a user