Skip to content

EIKONproject/apache_dev_server

Repository files navigation

Apache on PHP Development Docker Image

How to use

Use this image in a docker-compose.yml file in order to launch a local server for a PHP-based website:

version: '3.8'

services:
  test-apache-server:
    image: ghcr.io/eikonproject/apache_dev_server:main
    volumes:
      - <WEBSITE_HTDOCS_FOLDER>:/home/htdocs
    ports:
      - <DESIRED_PORT>:8889

Build locally

The docker-compose.yml file included here automatically builds locally the image and provide an example by mounting the test-website.org folder as a test PHP website.

About

Apache on PHP Development Docker Image

Resources

Stars

Watchers

Forks

Releases

No releases published