Apache2 docker adjusted image based on Debian stable-slim
67
docker-compose.yml:
version: '2.4'
services:
apache:
container_name: apache
image: dockerboys99/apache2:1.0
restart: always
ports:
- "80:80"
- "443:443"
volumes:
# This dir will be filled up after the first start if had been empty
- ./mounts/apache_config_template:/apache_config_template
- ./mounts/logs:/var/log/apache2
# copy contents from apache_config_template and customize here.
# - ./mounts/conf:/etc/apache2
- ./mounts/pki:/pki
- ./mounts/data:/data
environment:
# customize apache2 enabled modules here
- MODULES=access_compat alias auth_basic authn_core authn_file authz_core authz_host authz_user autoindex dav deflate dir env filter mime mpm_prefork negotiation reqtimeout setenvif socache_shmcb ssl status
# customize apache2 enabled sites here
- SITES=000-default default-ssl
# customize apache2 enabled confs here
- CONFS=charset localized-error-pages other-vhosts-access-log security serve-cgi-bin
Content type
Image
Digest
sha256:c8da519c0…
Size
80.2 MB
Last updated
over 3 years ago
docker pull dockerboys99/apache2:1.0