I am very new to sentry, can anyone please advise how to setup “production, staging, dev” environments while run sentry in docker ? Thanks in advance.
anyone can help ？
Maybe you can provide more details as your question is not clear to me?
Sorry for the late response.
I am hosting Sentry 9.1.2 with docker-compose, and my question is when I navigate to “Settings -> Sentry -> <PROJECT_NAME> -> Environments” , I see only “production” here.
Are there any way to create other environments such as “staging” and “dev” ?
Can anyone help please?
There’s nothing you need to do. Environments are configured in your SDK and are auto created as the server sees them.
In your sdk configurations just add environment settings like this,
Then you can define your environments using this