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!