Env Plain Text

Env files contain plain text, non-sensitive data. They are safe to commit to version control.

Set Values

You can set the values in





Call Helper

To use the values, call the env_files helper.


@environment = env_files

In the task definition


environment: @environment


Build the task definition

ufo build

This results in

  environment: [{
    name: RAILS_ENV,
    value: development


After deploying, you can use exec into the container to confirm that the RAILS_ENV is available as an env var.

ufo ship
ufo exec

In the container

# echo $RAILS_ENV

Layering Support

Env files also supports layering. See Env Files Layering.