Overwrite apiUrl with .env file?

Hi there, is it somehow possible to overwrite the apiUrl with an .env file?
i try to have a local development environment where apiUrl is localhost:8911, when pushing it to github i automate tests, build and deploy to docker where i want to set another apiUrl from the one in the redwood.toml file.

Thanks a lot for ideas!

1 Like

any updates on this one?

Would it help if you were able to set values in the TOML (in this case apiUrl) based on environment variables? We do have env interpolation for the TOML and that’s documented at: App Configuration | RedwoodJS Docs