How variables are passed to docker containers ?
magrigry
HOBBYOP

a year ago

My application uses environnement variable to handle environnement specific configurations.

I am used to defined those variables into the "variables" tab of railway. How thoses variables are passed to the container ? Does Railway use docker run ... -e xx=yy internally ?

Thank you

5 Replies

magrigry
HOBBYOP

a year ago

N/A


a year ago

yes they are passed in via the environment flag


a year ago

and during build they are passed in with the build arguments flag


magrigry
HOBBYOP

a year ago

thanks you for the confirmation !


a year ago

no problem!


Loading...