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
- TablesDB `updateRows` returns `database_...
Hi Appwrite team! I’m seeing a strange issue with TablesDB bulk row updates on a self-hosted Appwrite instance. **Environment** - Appwrite self-hosted `1.9.0` ...
- [SOLVED] Realtime Missing Channels
```js useEffect(() => { let subscription: RealtimeSubscription; async function loadChips() { try { const {rows: chi...
- Functions executed by events does not ap...
Hello, Running self-hosted Appwrite version 1.9.0 (with console 7.8.26). When functions are triggered by an event (eg. databases.\*tables.\*.rows.\*.create) doe...