Sign inSign up

krompi/apache

By krompi

Updated about 10 years ago

krompi-apache

Image
0

245

krompi/apache repository overview

krompi/apache

krompi/base based Apache HTTP Server image

Usage

In your docker-compose.yml include something like

version: '2'
services:
    app:
        image: krompi/base
        volumes:
            - .:/var/www/html
    php:
        image: krompi/php
        ports:
            - "4000:4000"
            - "8000:8000"
            - "9000:9000"
        volumes_from:
            - app
    apache:
        image: krompi/apache
        ports:
            - "80:80"
            - "443:443"
        volumes_from:
            - app

Then browse to http://localhost or https://localhost

NOTE The included default site configuration file sets a PHP handler at php:9000, so either make sure a PHP FPM or HHVM container is accessible at this address and port or just overwrite the default site configuration file

Tag summary

Content type

Image

Digest

Size

157.3 MB

Last updated

about 10 years ago

docker pull krompi/apache