thecodingmachine / docker-images-php

A set of PHP Docker images
MIT License
792 stars 140 forks source link

Add environment variable to change Apache ports #360

Open mms-gianni opened 1 year ago

mms-gianni commented 1 year ago

Expected Behavior

Add optional ENV vars for HTTP and HTTPS port.

Current Behavior

The Ports are by default on 80 and 443.

Possible Solution

Replace default with env values during startup.

Context

Having trouble in a security-sensitive kubernetes environment to bind lower ports

(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs

Your Environment

mistraloz commented 1 year ago

Why not, i placed your request in the backlog for next version.