mirror of
https://github.com/jkaninda/nginx-php-fpm.git
synced 2025-12-06 13:39:42 +01:00
Merge branch '8.0' into 8.1
This commit is contained in:
@@ -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:
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user