4 ms·
So I'm trying to dockerize a legacy PHP app that likes to use a config.php file. Would this be of help?
by jasonjei 10y ago
So I'm trying to dockerize a legacy PHP app that likes to use a config.php file. Would this be of help?
- philips 10y agoFor that just use ConfigMaps http://kubernetes.io/docs/user-guide/configmap/ http://kubernetes.io/docs/user-guide/configmap/
- foxylion 10y agoAlternatively you can also just use $_ENV['APP_XYZ'] instead of the actual value in your config.php and then use environment variable way to get the container/pod configured.