
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
- CSV uploads
when I loaded the CSV file into Appwrite, the data didn’t show up automatically. I had to manually enter each record myself. Not sure how to fix
- Correct way of updating console?
I see that console updates with regular minor fixes, now on self hosted version I have 6.0.13 what's the correct procedure to update it? If I update the vers...
- env var - APP_DOMAIN
Hey guys I am developing a flutter app - the app is already in production. Now I need to change the URL from the public IP to a domain. I cannot break the old u...
