File tree Expand file tree Collapse file tree 5 files changed +3
-6
lines changed
Expand file tree Collapse file tree 5 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 44 - php
55 volumes :
66 - project:/www
7- - docker/nginx/log:/var/log/nginx:rw
87 - docker/nginx/conf.d:/etc/nginx/conf.d
98 ports :
109 - " 8090:80"
1312 volumes :
1413 - project:/www:rw
1514 - docker/php/php-fpm.conf:/usr/local/etc/php-fpm.conf
16- - docker/php/log:/var/log/php-fpm:rw
1715 working_dir : /www/
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,4 +6,6 @@ RUN docker-php-ext-install mbstring zip
66
77RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && composer global require --prefer-dist "fxp/composer-asset-plugin:~1.0"
88
9+ RUN mkdir /var/log/php-fpm && ln -sf /dev/stdout /var/log/php-fpm/access.log && ln -sf /dev/stderr /var/log/php-fpm/error.log
10+
911CMD ["php-fpm" ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ daemonize = no
1010
1111; if we send this to /proc/self/fd/1, it never appears
1212access.log = /var/log/php-fpm/access.log
13+ catch_workers_output = yes
1314
1415user = www-data
1516group = www-data
You can’t perform that action at this time.
0 commit comments