Sign inSign up

aeonis/capsule-apache

By aeonis

•Updated about 3 years ago

Image
0

958

aeonis/capsule-apache repository overview

⁠Apache Docker images for Capsule

Apache images based on the official Apache Alpine images from Docker Hub.

⁠Versions

  • aeonis/capsule-apache:latest

⁠Features

  • SSL enabled (self-signed cert)
  • PHP handling via FastCGI (mod_proxy_fcgi)
  • HTTP Basic Authentication
  • Support for configuration overrides

⁠Document root

Apache DocumentRoot for the default virtual host can be set via APACHE_DOCUMENTROOTenvironment variable (defaults to /var/www/docroot).

⁠FastCGI server endpoint

These images are set up to work with a FastCGI server and will not start without one.
The FastCGI endpoint can be set via APACHE_FCGI_HOST_PORT environment variable (defaults to cli:9000).

⁠HTTP Basic Authentication

Use APACHE_BASIC_AUTH_USER and APACHE_BASIC_AUTH_PASS environment variables to set username and password.

Example with Docker Compose

  ...
  environment:
    - APACHE_BASIC_AUTH_USER=user
    - APACHE_BASIC_AUTH_PASS=password
  ...

⁠Configuration overrides

Configuration overrides can be added to a Docksal project codebase.

Use .capsule/etc/apache/httpd-vhost-overrides.conf to override the default virtual host configuration:

DirectoryIndex index-debug.html

Use .capsule/etc/apache/httpd-vhosts.conf to define additional virtual hosts:

<VirtualHost *:80>
	ServerName test.capsule

	ProxyPass / http://capsule.aeonis.co.za/
	ProxyPassReverse / http://capsule.aeonis.co.za/
</VirtualHost>

Tag summary

Content type

Image

Digest

sha256:418b6f4bb…

Size

18.2 MB

Last updated

about 3 years ago

docker pull aeonis/capsule-apache