https://dagster.io/ logo
#ask-community
Title
# ask-community
n

Nuchapol (Nut) Rattanapan

03/01/2023, 5:16 PM
Hi, I don’t want to separate my Dagster deployment into 2 instances (dev + prod). Is there an alternative way to run a job on Dagit with specifying something like “run mode” to tell Dagit which deployment environment to run? Or should I split a job into 2 jobs like job_dev, job_prod (2 docker images)? Or any suggestion, thanks.
e

Expoze Dummy

03/01/2023, 5:46 PM
I'm thinking of using workspace.yaml to separate your environments. PS: dagster team might have a better solution for this
s

sandy

03/01/2023, 8:25 PM
using separate code locations (with separate jobs) sounds like a good approach to me. using separate jobs in the same code location would also work
n

Nuchapol (Nut) Rattanapan

03/02/2023, 3:33 AM
Thanks you both of you 🙏