I have 2 projects in my organization. One is used as my staging environment and one is used as my prod environment.
When I initialize an Appwrite project, I get my appwrite.json with one level of data. Is there a way to configure it such that I can have more flexibility in what Appwrite is targeting?
For example, having a payload
"env":
{ "staging": {
"projectId": "12345",
"projectName": "App Staging"
},
"prod": {
"projectId": "12ABC",
"projectName": "App"
}
}
"default": "staging"
and having the ability to run CLI commands like this:
appwrite functions createDeployment <stuff> --profile staging
I'm not necessarily proposing the implemntation details. This is just referencing what AWS CLI does when you have multiple roles.
Is there something that exists that can handle this?
This sounds like a good feature request.
For now, I'd have multiple appwrite.json files and maybe use a symlink to switch between the two.
That's a great workaround. Thanks!
Isn’t a “profile switching” feature already planned? IIRC, it was more planned for server/user switching, but it could be extended to project switching?
Ya, there's a feature request for that
If your issue has been solved, you can mark this post as closed by adding “[SOLVED]” to the beginning of the title
[SOLVED] Are There Appwrite Profiles?
Recommended threads
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- GB Hours IS NOT resetting
Hi, I was checking my usage and noticed that all of my usage quotas were reset on August 20, 2026, when my billing cycle renewed. Everything else appears to ha...
- Cannot migrate from Supabase
Hi, I was trying to migrate from Supabase to the Appwrite database. My database had around 190K columns. I tried it twice. Both times, after 2 days, the proce...