Merge branch '8.0' into 8.1

This commit is contained in:
2022-09-21 10:19:22 +02:00
2 changed files with 9 additions and 3 deletions

View File

@@ -8,6 +8,7 @@
> 🐳 Full Docker image for Nginx PHP-FPM container created to run Laravel or any php based applications. > 🐳 Full Docker image for Nginx PHP-FPM container created to run Laravel or any php based applications.
- [Docker Hub](https://hub.docker.com/r/jkaninda/nginx-php-fpm) - [Docker Hub](https://hub.docker.com/r/jkaninda/nginx-php-fpm)
- [Github](https://github.com/jkaninda/nginx-php-fpm)
## Specifications: ## Specifications:
@@ -81,7 +82,7 @@ services:
- LARAVEL_PROCS_NUMBER=2 # Optional, Laravel queue:work process number - LARAVEL_PROCS_NUMBER=2 # Optional, Laravel queue:work process number
#- CLIENT_MAX_BODY_SIZE=20M # Optional #- CLIENT_MAX_BODY_SIZE=20M # Optional
#- DOMAIN=example.com # Optional #- DOMAIN=example.com # Optional
#- DOCUMENT_ROOT=/var/www/html Optional - DOCUMENT_ROOT=/var/www/html #Optional
``` ```
@@ -100,6 +101,11 @@ services:
### Add more supervisor process in ### Add more supervisor process in
> /var/www/html/conf/worker/supervisor.conf > /var/www/html/conf/worker/supervisor.conf
### Storage permision issue
> docker-compose exec php-fpm /bin/bash
> chown -R www-data:www-data /var/www/html/storage
> chmod -R 775 /var/www/html/storage
> P.S. please give a star if you like it :wink: > P.S. please give a star if you like it :wink:

View File

@@ -18,8 +18,8 @@ command=/usr/sbin/nginx -g "daemon off;"
numprocs=1 numprocs=1
autostart=true autostart=true
autorestart=true autorestart=true
stderr_logfile=/var/log/ngnix.err.log stderr_logfile=/var/log/nginx.err.log
stdout_logfile=/var/log/ngnix.out.log stdout_logfile=/var/log/nginx.out.log
user=root user=root
priority=100 priority=100