
We are self-hosting and installed appwrite via:
TypeScript
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:1.3.8
...how do we modify the environment variables? I'm not sure where the .env file was created?
TL;DR
The user wants to know how to modify the environment variables in the .env file when using the 'docker run' command to install Appwrite. They are unsure of the location of the .env file.
Solution: The .env file is usually created in the 'appwrite' folder, alongside the docker-compose.yml file. Therefore, navigate to the folder where you ran the installation command and look for the 'appwrite' folder. The .env file should be inside that folder. Modify the environment variables in that file to make the necessary changes.
It was created where you ran the install last time

There should be an appwrite folder with a docker-compose.yml file and .env file inside
Recommended threads
- Custom SMS Provider Guide
Any Help on this Topic will be appriated https://github.com/appwrite/appwrite/issues/10637
- Hackathon Query
One of the requirements for the Hackathon is that the project must be deployed on Appwrite Sites. What if we build a Flutter/Compose Android App? Would that cou...
- Validate and remove on backend using Adm...
Hey all, I am a little confused about the correct workflow. I am using .NET (Appwrite v1.7.4, latest working official .net sdk library). I understand there are...
