We are trying to use deployment modes to program against a gateway copy of a production gateway. I have set up a docker container for the local copy, added a Dev Mode, and successfully edited the ignition.conf file to change modes. What I did not realize is if I take a gateway backup of the Dev server and restore it on the production server the production server will start in Dev mode since the ignition.conf file is part of the gateway backup.
How can I start the Docker gateway in Dev mode without editing the ignition.conf file? Is there a way to specify mode in the docker compose file or command that starts ignition? Specifying the gateway mode in the ignition.conf file is not he best way to change the mode.