How are environment types detected?

Dotvault works it out from the filename — .env and .env.local become local, .env.production becomes production, .env.staging becomes staging, and so on. If it gets it wrong (or you just prefer a different label), click the tag badge to override it.