-
-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM php:7.4-fpm-alpine | ||
|
||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/ | ||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer | ||
|
||
RUN install-php-extensions apcu bz2 gd intl opcache pdo_mysql zip bcmath | ||
RUN mv $PHP_INI_DIR/php.ini-production $PHP_INI_DIR/php.ini | ||
|
||
RUN apk --no-cache add bash git mysql-client unzip | ||
|
||
ENV PATH="/srv/app/vendor/bin:/srv/app/bin:${PATH}" | ||
|
||
WORKDIR /srv/app |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
date.timezone = Europe/Madrid | ||
|
||
upload_max_filesize = 20M | ||
post_max_size = 20M | ||
|
||
memory_limit = -1 | ||
opcache.enable = 1 | ||
opcache.revalidate_path = 0 | ||
opcache.max_accelerated_files = 20000 | ||
opcache.validate_timestamps = 1 | ||
opcache.memory_consumption = 256 | ||
realpath_cache_size = 5M | ||
realpath_cache_ttl = 7200 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[www] | ||
|
||
user = root | ||
group = root | ||
|
||
listen = 127.0.0.1:9000 | ||
|
||
pm = dynamic | ||
pm.max_children = 50 | ||
pm.start_servers = 5 | ||
pm.min_spare_servers = 5 | ||
pm.max_spare_servers = 5 |