https://github.com/realorangeone/lsio-mod-more-processes
Docker mod to increase the number of processes run for applications inside the container.
https://github.com/realorangeone/lsio-mod-more-processes
docker docker-mod hacktoberfest lsio
Last synced: 8 months ago
JSON representation
Docker mod to increase the number of processes run for applications inside the container.
- Host: GitHub
- URL: https://github.com/realorangeone/lsio-mod-more-processes
- Owner: RealOrangeOne
- License: bsd-3-clause
- Created: 2020-10-19T13:06:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-04T17:55:49.000Z (over 4 years ago)
- Last Synced: 2025-02-10T12:43:07.809Z (over 1 year ago)
- Topics: docker, docker-mod, hacktoberfest, lsio
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/theorangeone/lsio-mod-more-processes
- Size: 14.6 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lsio-mod-more-processes
Docker mod to increase the number of processes run for applications inside the container.
By default, any LSIO nginx installation ships using [4 worker processes](https://github.com/linuxserver/docker-baseimage-alpine-nginx/blob/master/root/defaults/nginx.conf#L4), which is inefficient for high-core machines. I've [opened](https://github.com/linuxserver/docker-baseimage-alpine-nginx/pull/53) PRs [before](https://github.com/linuxserver/docker-baseimage-alpine-nginx/pull/56), but they were all rejected for "backwards compatibility".
- Set Nginx' `worker_processes` to `auto`.
- Increase `pm` values for `php-fpm` to better deal with more requests.
## Usage
On any of your LSIO containers, set the following environment variable:
```
DOCKER_MODS=theorangeone/lsio-mod-more-processes:latest
```
[More about docker mods](https://github.com/linuxserver/docker-mods#using-a-docker-mod)