docker-library / httpd

Docker Official Image packaging for Apache HTTP Server
https://httpd.apache.org
Apache License 2.0
310 stars 345 forks source link

/etc/apache2/envvars or equivalent for library/httpd docker container #184

Closed mathewatspm closed 3 years ago

mathewatspm commented 3 years ago

Hello,

I am trying to refer to envvars such as APACHE_RUN_DIR when using library/httpd docker container as our base image, but I am unable to locate any envvars.

Please could anyone advise how I can go about installing or generating envvars for the httpd?

The container which I am using: https://hub.docker.com/layers/httpd/library/httpd/latest/images/sha256-20eedff39b927f5bbf82e9b40ca8980b3f268f3de9918bed53d43c039d7a411b

Please advise. Thanks!

wglambert commented 3 years ago

This thread might be relevant https://github.com/docker-library/php/issues/1082

The easiest solution is probably to provide your own config https://github.com/docker-library/docs/tree/master/httpd#configuration

wglambert commented 3 years ago

If you need further help you could also try asking over at the Docker Community Forums, Docker Community Slack, or Stack Overflow. Since these repos aren't really a user-help forum