Den, There’s quite a few ways to set ENV vars.
Have a look at this documentation<https://docs.openshift.org/latest/dev_guide/environment_variables.html> It is also possible to include environmental variables as part of the deployment configuration as well as templates. -- John Skarbek On February 17, 2016 at 07:09:05, Den Cowboy ([email protected]<mailto:[email protected]>) wrote: I've an image. When I want to start the image I have to define som env-variables: How do I have to do this in OpenShift? Can I just add the --env also after the oc-command? $ docker run --restart=always --name "nodejs" --env MOCK="x" --env BRANDS="x" --env PORT="8888" -d my-image:73 _______________________________________________ users mailing list [email protected] https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openshift.redhat.com_openshiftmm_listinfo_users&d=CwICAg&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=8IlWeJZqFtf8Tvx1PDV9NsLfM_M0oNfzEXXNp-tpx74&m=60UePY86xVs1NjLZBFRHiiBY54VyqOf44whmSKC2v2M&s=_WN8v3KDRr_tVvulwUKq9Eh_Gj8blriQHhclDjH1W4M&e=
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
