openbridge / ob_php-fpm Goto Github PK
View Code? Open in Web Editor NEWPHP-FPM container for NGINX using Alpine, Opcache, Dynamic Resources, Monitoring, Security
Home Page: https://www.openbridge.com
License: MIT License
PHP-FPM container for NGINX using Alpine, Opcache, Dynamic Resources, Monitoring, Security
Home Page: https://www.openbridge.com
License: MIT License
Is a new release planned to support PHP8?
Docs talk about tagged images for 7.3 and 7.4 but they don't exist on Docker hub.
1399258 root 20 0 173.5m 33.5m 0.0 0.0 0:00.24 S `- php-fpm: master process (/etc/php7/php-fpm.conf)
1400768 root 20 0 4.9m 1.5m 0.0 0.0 0:01.17 S `- monit -c /etc/monitrc
3241229 root 20 0 0.0m 0.0m 0.0 0.0 0:00.01 Z `- [bash] <defunct>
Seeing a lot of zombie processes being created by your shipped monit configuration.
I don't know how to debug this. Could you maybe give me some hints?
Hi, any plans to upgrade to PHP 8?
Typo ob_php-fpm/docker-entrypoint.sh
Need more variables in .env file.
71 echo 'max_execution_time=300'
82 echo 'upload_max_filesize=50M'
83 echo 'post_max_size=50M'
Hi, using the wordpress.yml and changing the env file to mine, nginx container trow this error:
unknown directive "max_fails=3" in /etc/nginx/upstream.d/php-fpm.conf
my ENV
APP_DOCROOT=/usr/share/nginx/html
PHP_FPM_PORT=9000
PHP_START_SERVERS=16
PHP_MIN_SPARE_SERVERS=8
PHP_MAX_SPARE_SERVERS=16
PHP_MEMORY_LIMIT=256
PHP_OPCACHE_MEMORY_CONSUMPTION=96
PHP_MAX_CHILDREN=16
NGINX_DOCROOT=/usr/share/nginx/html
NGINX_SERVER_NAME=testserver
NGINX_CONFIG=php
NGINX_DEV_INSTALL=true
my YML
version: '3.1'
services:
nginx:
image: openbridge/nginx
container_name: nginx
ports:
- 80:80
- 443:443
tty: true
tmpfs:
- /var/cache
volumes:
- db_data:/usr/share/nginx/html
ulimits:
nproc: 65535
nofile:
soft: 49999
hard: 99999
env_file:
- ./env/stage.env
mariadb:
image: mariadb:latest
container_name: mariadb
environment:
MYSQL_ROOT_PASSWORD: Pettinell@2009
MYSQL_DATABASE: mapsgra
MYSQL_USER: root
MYSQL_PASSWORD: Pettinell@2009
tty: true
volumes:
- db_data:/var/lib/mysql
ulimits:
nproc: 65535
nofile:
soft: 49999
hard: 99999
php-fpm:
image: openbridge/ob_php-fpm
container_name: php-fpm
restart: always
depends_on:
- mariadb
env_file:
- ./env/stage.env
ports:
- 9001:9000
tmpfs:
- /var/cache
tty: true
volumes:
- db_data:/usr/share/nginx/html
ulimits:
nproc: 65535
nofile:
soft: 49999
hard: 99999
redis:
image: redis
container_name: redis
restart: always
volumes:
db_data:
Hi,
I'm seeing a few of these errors in the logs, haven't been able to tie them to anything specific. Just wondering if it rings a bell and what might be wrong. Running WP. Thanks!
ALERT: oops, unknown child (31184) exited with code 1. Please open a bug report (https://bugs.php.net).
I have to use an Wordpress plugin that rely to GLOBE_BRACE but seem this PHP version don't have it
I see this issue docker-library/php#719 but don't know how to use php:7.4-fpm-buster
Please suggest
I'm using this php-fpm image whit nginx container and it is really nice. Is it possible to run this image whit multiple APP_DOCROOT variables? I wold like to run more than 20 sites, but I wold like to use only one php-fpm container. I do not like the idea that I need to run 20+ fpm containers.
Is it possible to add multisite support to this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.