Comments (4)
The /etc/php stability would be a great idea! With alpine 3.18, the coming stable release, we will get access to php 8.2, so when we switch to that it might be a good opportunity to deal with this as well. I wonder if we can bind-mount into a symlink or would instead have to move the php8x dir and create a symlink in it's place. Will have to test this when we get there.
from docker-nginx-fpm-alpine.
The /etc/php stability now got introduced in the image with tag 1.5.1-alpine3.18-php8.2
.
from docker-nginx-fpm-alpine.
The locations for attaching the configuration files (not only a php.ini, but also an nginx one) are documented in the README.md file. The following three values need to be tweaked:
docker-nginx-fpm-alpine/etc/php81/conf.d/00-docker.ini
Lines 20 to 22 in 76251ac
docker-nginx-fpm-alpine/etc/nginx/nginx.conf
Lines 66 to 67 in 76251ac
If anyone would like to raise a pull request with such an automation script, please write it in such a way that it detects a read-only filesystem at the directory of the config files, and doesn't fail the startup. The images are designed to run with a read-only filesystem, so currently any changes have to be attached from the outside into the image (ideally read-only as well).
For completeness, in the alternative nginx unit images, all three values can be set in a single config file which would get attached to /var/lib/unit.
https://github.com/PrivateBin/docker-unit-alpine/blob/2b033dd6424025325971ec305d82f27248330b76/conf.json#L42-L43
https://github.com/PrivateBin/docker-unit-alpine/blob/2b033dd6424025325971ec305d82f27248330b76/conf.json#L63
from docker-nginx-fpm-alpine.
@elrido Thanks for pointing that out. I completely missed that section, my bad.
Considering the read-only filesystem case there might not be an easy way to automatically propagate these settings. Attaching custom config files may be the most feasible solution.
Maybe adding a symlink at /etc/php/
could provide a stable volume mount in case PHP upgrades are done.
from docker-nginx-fpm-alpine.
Related Issues (20)
- Disable/remove nginx for services that already provide a reverse proxy? HOT 4
- ZAP Full Scan Report HOT 3
- upgrade to PHP 8.2
- Wrong size limit error HOT 3
- Feature Request: Use AWS IAM Role to access S3 buckets HOT 8
- Could not create paste - permissions error? HOT 4
- Can be deleted. HOT 1
- ZAP Full Scan Report
- php-fpm81: No such file or directory HOT 5
- Invoking dark mode through environment variables HOT 2
- ZAP Full Scan Report HOT 3
- Can't override Nginx client_max_body_size 15M - Duplicate Directive HOT 1
- Getting SLSA ("Supply-chain Levels for Software Artifacts") compliance HOT 2
- docker image creates volume HOT 2
- docker image privatebin/fs:latest still includes zlib-1.2.13-1.js (instead of 1.3) HOT 5
- Dark mode HOT 1
- ZAP Full Scan Report
- ZAP Full Scan Report HOT 1
- Getting `reading response header from upstream` error when trying to create new secrets with 1.7.2 on S3 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-nginx-fpm-alpine.