Sign inSign up

kooldev/nginx

By kooldev

•Updated 3 months ago

Image
1

1.3K

kooldev/nginx repository overview

CI/CD

⁠Description

Minimal NGINX⁠ Docker images. It's use is intended for kool.dev⁠, but can fit in any other NGINX use-case.

⁠Available Tags

⁠Environment Variables

VariableDefault ValueDescription
LISTEN80Changes the PORT address
ROOT/app/publicChanges NGINX root directive
CLIENT_MAX_BODY_SIZE25MChanges maximum allowed size of the client request body
PHP_FPMapp:9000Changes the address of a FastCGI server
FASTCGI_READ_TIMEOUT60sChanges a timeout for reading a response from the FastCGI server
FASTCGI_BUFFERS8 8kChanges the number and size of the buffers used for reading a response
FASTCGI_BUFFER_SIZE16kChanges the size of the buffer used for reading the first part of the response received
⁠php
VariableDefault ValueDescription
INDEXindex.phpChanges the index directive
⁠static
VariableDefault ValueDescription
INDEXindex.htmlChanges the index directive

⁠Usage

With docker run:

docker run -it --rm kooldev/nginx:php nginx -v

With environment variables:

docker run -it --rm -e LISTEN=8080 kooldev/nginx:php nginx -v

With docker-compose.yml:

app:
  image: kooldev/nginx:php
  environment:
    LISTEN: "8080"

⁠Contributing

⁠Dependencies

You should change fwd-template.json and template folder.

After any changes, we just need to run kool run template (you need kool⁠) to compile the template and generate all version folder/files.

⁠License

The MIT License (MIT). Please see License File⁠ for more information.

Tag summary

Content type

Image

Digest

sha256:eabde4ca2…

Size

27.7 MB

Last updated

3 months ago

docker pull kooldev/nginx:static