WIP : Remets a plat la configuration
This commit is contained in:
@@ -25,9 +25,12 @@ http {
|
|||||||
fastcgi_pass php:9000;
|
fastcgi_pass php:9000;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name;
|
||||||
fastcgi_read_timeout 180;
|
|
||||||
client_max_body_size 30M;
|
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
|
#fastcgi_read_timeout 180;
|
||||||
|
#client_max_body_size 30M;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
access_log /var/log/access.log;
|
||||||
|
error_log /var/log/error.log error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1872
config/php.ini
1872
config/php.ini
File diff suppressed because it is too large
Load Diff
12
config/showErrors.conf
Normal file
12
config/showErrors.conf
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[www]
|
||||||
|
php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
|
||||||
|
php_flag[display_errors] = on
|
||||||
|
php_admin_value[error_log] = /var/log/php/fpm.log
|
||||||
|
php_admin_flag[log_errors] = on
|
||||||
|
php_admin_value[memory_limit] = 32M
|
||||||
|
php_flag[display_startup_errors] = on
|
||||||
|
|
||||||
|
catch_workers_output = yes
|
||||||
|
|
||||||
|
; for debugging 1h
|
||||||
|
request_terminate_timeout = 3600
|
@@ -8,6 +8,7 @@ xdebug.remote_handler=dbgp
|
|||||||
xdebug.remote_mode=req
|
xdebug.remote_mode=req
|
||||||
xdebug.remote_autostart=true
|
xdebug.remote_autostart=true
|
||||||
xdebug.remote_log="/var/log/xdebug/xdebug.log"
|
xdebug.remote_log="/var/log/xdebug/xdebug.log"
|
||||||
|
xdebug.force_display_errors=On
|
||||||
|
|
||||||
# Activation du Profiler
|
# Activation du Profiler
|
||||||
xdebug.profiler_enable=1
|
xdebug.profiler_enable=1
|
||||||
|
@@ -8,17 +8,24 @@ mariadb:
|
|||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=MyPassWord48
|
- MYSQL_ROOT_PASSWORD=MyPassWord48
|
||||||
|
|
||||||
|
mailcatcher:
|
||||||
|
image: daiko/mailcatcher:latest
|
||||||
|
expose:
|
||||||
|
- 25
|
||||||
|
ports:
|
||||||
|
- 1080:1080
|
||||||
|
|
||||||
php:
|
php:
|
||||||
image: daiko/phpfpm-dev:latest
|
image: daiko/phpfpm-dev:latest
|
||||||
expose:
|
expose:
|
||||||
- 9000
|
- 9000
|
||||||
volumes:
|
volumes:
|
||||||
- ~/Public:/var/www/html
|
- ~/Public:/var/www/html
|
||||||
- ~/log/php:/var/log/php
|
|
||||||
- ~/log/xdebug:/var/log/xdebug
|
- ~/log/xdebug:/var/log/xdebug
|
||||||
- ./config/php.ini:/usr/local/etc/php/php.ini
|
- ~/log/php:/var/log/php
|
||||||
- ./config/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
|
- ./config/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
|
||||||
- ./config/ssmtpd.conf:/etc/ssmtp/ssmtp.conf
|
- ./config/showErrors.conf:/usr/local/etc/php-fpm.d/zzz-showErrors.conf
|
||||||
|
- ./config/ssmtp.conf:/etc/ssmtp/ssmtp.conf
|
||||||
links:
|
links:
|
||||||
- mariadb
|
- mariadb
|
||||||
- mailcatcher
|
- mailcatcher
|
||||||
@@ -26,9 +33,9 @@ php:
|
|||||||
nginx:
|
nginx:
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
volumes:
|
volumes:
|
||||||
|
- ~/Public:/var/www/html
|
||||||
- ~/log/nginx:/var/log/nginx
|
- ~/log/nginx:/var/log/nginx
|
||||||
- ./config/nginx.conf:/etc/nginx/nginx.conf
|
- ./config/nginx.conf:/etc/nginx/nginx.conf
|
||||||
- ~/Public:/var/www/html
|
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
environment:
|
environment:
|
||||||
@@ -36,13 +43,3 @@ nginx:
|
|||||||
- NGINX_PORT=80
|
- NGINX_PORT=80
|
||||||
links:
|
links:
|
||||||
- php
|
- php
|
||||||
|
|
||||||
mailcatcher:
|
|
||||||
image: daiko/mailcatcher:latest
|
|
||||||
volumes:
|
|
||||||
- ./config/smtpd.conf:/etc/smtpd.conf
|
|
||||||
- ./config/mailname:/etc/mailname
|
|
||||||
expose:
|
|
||||||
- 25
|
|
||||||
ports:
|
|
||||||
- 1080:1080
|
|
||||||
|
Reference in New Issue
Block a user