Sign inSign up

symbiote/apache2

By symbiote

Updated about 5 years ago

Ubuntu 16.04 apache2 image, with default vhosts to connect to PHP FPM

Image
0

10K+

symbiote/apache2 repository overview

Symbiote Apache

An apache2 image with baked in SSL certificates

Has vhosts to capture all requests to *.symlocal domains for both http and https.

Build

docker build -t symbite/apache2:2.4 .

Run

It is highly recommended to run this from a docker-compose alongside symbiote/php-fpm, as the default vhost configs reference the "php" hostname created by docker

version: '2'
services:
  apache:
    image: "symbiote/apache2:latest"
    ports:
      - "80:80"
      - "443:443"
    links:
      - php:php
    working_dir: /var/www/html
    volumes:
      - .:/var/www/html
  php:
    image: "symbiote/php-fpm:7.1"
    volumes:
      - '.:/var/www/html'

Tag summary

Content type

Image

Digest

Size

181.6 MB

Last updated

about 5 years ago

docker pull symbiote/apache2