Skip to content

rcjkierkels/docker-apache-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is the source for a docker httpd image that can be used to run a php apache environment for developing and production. Its based on the latest debian distro and uses the latest version of PHP. Any PHP version is supported through official PHP images.

Installation

This image is designed to run on a Virtual Machine (Ubuntu/Debian) with docker daemon. Required is that the virtual machine has a mount to the location where all sites are physically stored (for example your NAS).

Preferably you should auto mount your sites location using /etc/fstab but this is expected:

mount.nfs 192.168.2.100:/volume1/vm/noveesoft /mnt/synology-kierkels

The docker directory on the server should be:

/docker/httpd

Make sure you checkout this project as a git repository in this directory. If you boot your VM for the first time or you want to be sure you use the latest version use:

bash /docker/httpd/rebuild.sh

This will build a new image and creates a docker container. The mount should be available before creating the container!

Configuration

All configuration should be done inside this repository. Add your configs to the config directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published