Environment variables in PHP S2I Containers in OpenShift 3.X
Issue
- How to pass in environment variables to a PHP image
- Environment variables created using the following are not accessible in my code
$ oc env dc/myDeploymentConfig <environment-variables>
Environment
- Red Hat OpenShift Container Platform
- 3.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
