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
- I have an error oauth with Microsoft
invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for...
- SMTP Error: Could not connect to SMTP
My appwrite self-hosted instance on DigitalOcean cannot sennd emails. The following results were performed Log: ``` docker compose logs -f appwrite-worker-mail...
- how many Teams can be created?
I am creating an app where I will let users create groups. This could mean there will be many groups created by user, to isolate those groups properly I am thin...
