--- layout: "docs" page_title: "Environment - Runtime" sidebar_current: "docs-runtime-environment" description: |- Learn how to configure the Nomad runtime environment. --- # Runtime Environment Some settings you specify in your [job specification][jobspec] are passed to tasks when they start. Other settings are dynamically allocated when your job is scheduled. Both types of values are made available to your job through environment variables. ## Summary <%= partial "envvars.html.md" %> ~> Port labels and task names will have any non-alphanumeric or underscore characters in their names replaced by underscores `_` when they're used in environment variable names such as `NOMAD_ADDR__