mirror of
https://github.com/jkaninda/nginx-php-fpm.git
synced 2025-12-06 05:29:43 +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.
|
||||
|
||||
- [Docker Hub](https://hub.docker.com/r/jkaninda/nginx-php-fpm)
|
||||
- [Github](https://github.com/jkaninda/nginx-php-fpm)
|
||||
|
||||
## Specifications:
|
||||
|
||||
@@ -81,7 +82,7 @@ services:
|
||||
- LARAVEL_PROCS_NUMBER=2 # Optional, Laravel queue:work process number
|
||||
#- CLIENT_MAX_BODY_SIZE=20M # 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
|
||||
> /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:
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@ command=/usr/sbin/nginx -g "daemon off;"
|
||||
numprocs=1
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stderr_logfile=/var/log/ngnix.err.log
|
||||
stdout_logfile=/var/log/ngnix.out.log
|
||||
stderr_logfile=/var/log/nginx.err.log
|
||||
stdout_logfile=/var/log/nginx.out.log
|
||||
user=root
|
||||
priority=100
|
||||
|
||||
|
||||
Reference in New Issue
Block a user