Should I configure a separate container

Should I configure a separate container per environment (staging vs production) in my wrangler.jsonc? Injected env variables would be different depending on the environment but the image itself will be the same.
2 Replies
Mike Nomitch
Mike Nomitch4mo ago
Some people like doing two separate Workers, some people like different environments I think nothing container-specific here?
goofysystem
goofysystemOP4mo ago
@Mike Nomitch I'm running into https://discord.com/channels/595317990191398933/1389663919835971614/1389769901421363301 and https://discord.com/channels/595317990191398933/1390054221742604308 when I try to use the same container across different envs. Changing the name field didn't work for me.

Did you find this page helpful?