Import

Merge a dotenv file into the environment.

Syntax

$ vela env import <file>
$ vela env import .env.production -t production

This is a merge, not a replace: variables already set that the file doesn’t mention are left alone. Variables the file does mention are overwritten.

Importing into the same file you are importing from is refused. The instance is restarted afterwards so the values take effect. Defaults to -t local.