Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.
/ php-apache Public archive

A docker image of PHP with Apache. Composer included.

License

Notifications You must be signed in to change notification settings

reine/php-apache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

php-apache

A docker image of PHP 7.4 with Apache. Composer 2 included.

Use command via console:

docker build -t php_apache . --build-arg VIRTUAL_HOST="site.dev.local" TIME_ZONE="America/Chicago"

Or, via docker-compose.yml:

version: "3.6"
services:
  web:
    build:
      context: .
      dockerfile: Dockerfile
      args:
        TIME_ZONE: "America/Chicago"
        VIRTUAL_HOST: "site.dev.local"
    ports:
      - "80:80"
      - "443:443"

If no arguments were sent during build, the default values for virtual host and timezone are localhost and Asia/Manila respectively.

About

A docker image of PHP with Apache. Composer included.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published