[ad_1]
Hey ,
Has anyone here tried passing environmental variables from apache (/etc/apache2/envvars) to wordpress to automate the whole setup of wordpres?
Currently I am working on a container (Docker) that has a WP image and I’ve added some extra commands to run a script that fills the envvars file with secrets (db credentials) .
However I am not quite sure how to add them to WordPress so it can automatically populate them .
Any suggestions would be highly appreciated!
[ad_2]