Back

[SOLVED] Change Env Variables on deployed Appwrite Container.

  • 0
  • Self Hosted
  • General
nuttygeek
25 Apr, 2023, 11:36

I have deployed Appwrite to digital ocean and I want to SMTP Config to my Appwrite container, how can i change the environment, cant find any .env file there, cant even see any options for adding env variables on digital ocean platform.

TL;DR
You can change the environment variables on your deployed Appwrite container by SSHing into your server. The `.env` file is located in the folder `/root/appwrite/`. After updating the values, run `docker compose up -d` in the Appwrite folder to apply the changes.
Binyamin
25 Apr, 2023, 11:39

You can SSH into your server The .env file should be in the folder /root/appwrite/

After you've update the values you'll need to run docker compose up -d in the Appwrite folder

TypeScript
 $:/root/appwrite: docker compose up -d
nuttygeek
1 May, 2023, 08:15

Thanks! got it.

Drake
1 May, 2023, 14:55

[SOLVED] Change Env Variables on deployed Appwrite Container.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more