Giter Club home page Giter Club logo

apache's Introduction

Apache HTTP Server Docker Container Image

Build Status Docker Pulls Docker Stars Docker Layers

Docker Images

❗️For better reliability we release images with stability tags (wodby/apache:2.4-X.X.X) which correspond to git tags. We strongly recommend using images only with stability tags.

Overview:

Supported tags and respective Dockerfile links:

All images built for linux/amd64 and linux/arm64

Environment Variables

Variable Default Value Description
APACHE_ALLOW_OVERRIDE_ENABLED All
APACHE_DIRECTORY_INDEX index.html
APACHE_GROUP apache
APACHE_HOSTNAME_LOOKUPS Off
APACHE_HTTP2
APACHE_INCLUDE_CONF conf/conf.d/*.conf
APACHE_INDEXES_ENABLED
APACHE_KEEP_ALIVE_TIMEOUT 5
APACHE_KEEP_ALIVE On
APACHE_LIMITED_ACCESS
APACHE_LOG_LEVEL warn
APACHE_MAX_KEEP_ALIVE_REQUESTS 100
APACHE_MPM_EVENT_MAX_CLIENTS 400
APACHE_MPM_EVENT_SERVER_LIMIT 16
APACHE_MPM_EVENT_START_SERVERS 3
APACHE_MPM_EVENT_THREAD_LIMIT 64
APACHE_MPM_EVENT_THREADS_PER_CHILD 25
APACHE_MPM event
APACHE_PORT 80
APACHE_REQUEST_READ_TIMEOUT header=20-40,MinRate=500 body=20,MinRate=500
APACHE_SERVER_NAME default
APACHE_SERVER_NAME default
APACHE_SERVER_SIGNATURE Off
APACHE_SERVER_TOKENS Full
APACHE_TIMEOUT 60
APACHE_USE_CANONICAL_NAME Off
APACHE_USER apache
APACHE_VHOST_PRESET html

Enabled Modules

The list of installed modules: https://github.com/wodby/apache/blob/master/tests/basic/apache_modules

Virtual hosts presets

By default will be used html virtual host preset, you can change it via env var $APACHE_VHOST_PRESET. The list of available presets:

HTML

This is the default preset.

PHP (FastCGI)

Additional environment variables for PHP preset:

Variable Default Value Description
APACHE_BACKEND_HOST php
APACHE_BACKEND_PORT 9000
APACHE_DIRECTORY_INDEX index.php
APACHE_FCGI_PROXY_CONN_TIMEOUT 5
APACHE_FCGI_PROXY_TIMEOUT 60
  • Preset template
  • Usage: add APACHE_VHOST_PRESET=php, optionally modify APACHE_BACKEND_HOST

Customization

If you can't customize a config via environment variables, you can completely override include of the virtual host config by overriding APACHE_INCLUDE_CONF, it will be included in httpd.conf.

Orchestration actions

Usage:

make COMMAND [params ...]

commands:
    check-ready [host max_try wait_seconds]
 
default params values:
    host localhost
    max_try 1
    wait_seconds 1
    delay_seconds 0

apache's People

Contributors

csandanov avatar wodbot avatar

Watchers

 avatar

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.