forked from maxpozdeev/mytinytodo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add dev-docker for php-fpm 8.2 + nginx
- Loading branch information
1 parent
176b1e9
commit 74e59f1
Showing
9 changed files
with
34 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM nginx:alpine | ||
|
||
COPY default.conf /etc/nginx/conf.d/ | ||
|
||
VOLUME /var/www/html |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
PLATFORM_NAME=mtt-dev-php82-nginx-alpine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM php:8.2-fpm-alpine | ||
|
||
RUN docker-php-ext-install pdo_mysql && \ | ||
mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" && \ | ||
mkdir /var/www/phpinfo && \ | ||
echo "<?php phpinfo();" > /var/www/phpinfo/phpinfo.php | ||
|
||
#COPY php-mtt.ini /usr/local/etc/php/conf.d/ | ||
#COPY php-opcache.ini /usr/local/etc/php/conf.d/ | ||
COPY php-fpm-www.conf /usr/local/etc/php-fpm.d/www.conf | ||
|
||
VOLUME /var/www/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[www] | ||
user = www-data | ||
group = www-data | ||
listen = 127.0.0.1:9000 | ||
pm = dynamic | ||
pm.max_children = 5 | ||
pm.start_servers = 2 | ||
pm.min_spare_servers = 1 | ||
pm.max_spare_servers = 3 | ||
pm.max_requests = 500 | ||
|
||
access.format = "%R - %u [%t] \"%m %r\" %s %f" |
File renamed without changes.
File renamed without changes.