Is it possible to change environment variable directly inside docker container?
- 0
- Self Hosted
- Android
- Web
- Tools
I need to change .env but i can't access the admin account from the web.
Yes, in fact it's not possible to change env variables from the web interface
You always need to do it through the server directly
You're self-hosting appwrite instead of using Appwrite cloud, true?
yes we self hosting to aws
where the .env file path location usually?
If I'm not wrong the end file should be created, however and alternatively if you don't have data in the instance or anything, you can edit the docker-compose.yml file located in your appwrite installation folder (usually called appwrite and located in the main folder)
the project is a legacy from the previous developers, and they only gave me access to the AWS server, without giving access to the Appwrite
Oh, I see
Then it will be better doing a backup in such case
in the project i only knew the endpoint, project id, also some databases
so its still possible to change configuration environment? i need to enable phone verification
I think in such case your issue is more complex because if you whitelist your email, you will be able to create an account in the instance with projects, but you will not be able to access projects located on other accounta
so there's no solution?
You mean changing project setting?
i need phone verification only for send the otp code
no only enable phone verification
Easier solution is to tell them sharing access to their account. An alternative will probably be accessing manually the MariaDB database with some editor
For that you can change the OTP env var in the docker compose file (make a backup of everything before)
the problem is i can't find the docker compose file, etc inside the server AWS, there's only file .tar
did they deploy automatically from the web or third-party?
my bad, i already find the docker compose file
now i have another question, its possible to set provider except twilio, text magic or telesign @D5 ?? we are using this https://sms.standingtech.com/
we need otp sent to iraqi number
Not sure about this, but probably one of those is able to send to Iraqi numbers
Recommended threads
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems