Giter Club home page Giter Club logo

docker-nginx's Introduction

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

Variable Default Value Description
LISTEN 80 Changes the PORT address
ROOT /app/public Changes NGINX root directive
CLIENT_MAX_BODY_SIZE 25M Changes maximum allowed size of the client request body
PHP_FPM app:9000 Changes the address of a FastCGI server
FASTCGI_READ_TIMEOUT 60s Changes a timeout for reading a response from the FastCGI server
FASTCGI_BUFFERS 8 8k Changes the number and size of the buffers used for reading a response
FASTCGI_BUFFER_SIZE 16k Changes the size of the buffer used for reading the first part of the response received

php

Variable Default Value Description
INDEX index.php Changes the index directive

static

Variable Default Value Description
INDEX index.html Changes 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.

docker-nginx's People

Contributors

carlbastos avatar dbpolito avatar dependabot[bot] avatar fabriciojs avatar wesleyhf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

docker-nginx's Issues

Bad README

The repository is docker-nginx, but the README currently referes to Node images ๐Ÿค” ๐Ÿ˜…

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.