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
- appwrite free plan resources issue
i'm on free plan and i just used 700MB bandwidth with 8mb storage and 141k requests, but when i'm trying to continue developing my app it send me an error messa...
- Startup credits or promo code inquiry fo...
Hello Appwrite team, Happy New Year! I hope you’re all doing well. I’m currently exploring backend solutions for a new SaaS project and Appwrite came highly re...
- Need a web developer
Need. Web developer for a paid project/collaboration