From 468edafed80cffc8eda358dfc094d1df31de2246 Mon Sep 17 00:00:00 2001 From: Melissa Hale Date: Thu, 9 Nov 2023 16:11:35 -0600 Subject: [PATCH] smoltweak in intro section --- src/docs/develop/variables.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/docs/develop/variables.md b/src/docs/develop/variables.md index af6818470..ab5e3b0c1 100644 --- a/src/docs/develop/variables.md +++ b/src/docs/develop/variables.md @@ -2,9 +2,14 @@ title: Variables --- -Variables provide a powerful way to manage configuration and secrets across services in Railway. When defined, they are made available to your application at build and runtime as environment variables. +Variables provide a powerful way to manage configuration and secrets across services in Railway. -Variables generally represent key-value pairs that store data needed by your services which you do not want to keep in code, like secrets or configuration values. +When defined, they are made available to your application as environment variables in the following scenarios: + +- The build process for each service deployment. +- The running service deployment. +- The command invoked by `railway run ` +- The local shell via `railway shell` In Railway, there is also a notion of configuration variables which allow you to control the behavior of the platform.