I have Docker container, which I deploy on Amazon ECS. The Docker container runs supervisord, which in turn runs 3 different programs.
Naturally, I'd like to use different environment variables for local development vs production to differentiate API keys, API endpoints and so on. What's a good way of doing this?
Is this something I should setup in the Dockerfile, Amazon ECS or the supervisord conf file?
Figured it out. You can specify ENV variables when creating the task definition on Amazon ECS.