How to separate staging and production env variables?

I have non-secrets that need to go into the environmental variable, but the secrets aren’t readable, so I need to use the fly.toml configuration. However, how can I configure this for multiple environments? Ex, I have a different s3 bucket, cors config, host names, etc… for each environment.

[env]
  LOG_LEVEL = "debug"
  RAILS_ENV = "production"
  S3_BUCKET = "my-app-production"

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