Back

my environment variables are not updating

  • 0
  • Self Hosted
anonvt
9 Aug, 2024, 17:32

I am self hosting appwrite. I update the .env file located in the appwrite directory on my instance.

I run docker compose up - d

After it finishes, I run:

docker compose exec appwrite vars

However, the values I updated in the .env file do not show up here. Values I am trying to update: _APP_EMAIL_CERTIFICATES _APP_SYSTEM_SECURITY_EMAIL_ADDRESS

My _APP_DOMAIN AND TARGET is of the format app.example.com

(I was updating above variables so that my certificate generates properly for my app.example.com , which currently shows an insecure connection)

Looking for any help. Thank you.

TL;DR
Environment variables not updating despite changes in .env file and running 'docker compose up'. Secure connection issue resolved by clearing browser cache. Values not showing up in 'docker compose exec appwrite vars' command. Trying to update variables for certificate generation for app.example.com.
anonvt
9 Aug, 2024, 17:40

Little update....the secure connection is getting established now, had to clear browser cache and cookies.

However, the variables are still not showing as updated in the appwrite vars command

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