Read env vars in fly.toml

I need to be able to read environment variables that I don’t want in the fly.toml file, something like

[env]
GITEA__server__ROOT_URL = $ROOT_URL

is this possible?

I believe you can solve this with fly secrets

I could, but I’d rather do it in the fly.toml if possible because it makes it more obvious what’s happening.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.