Back

[SOLVED] Where can i find config file in docker?

  • 0
  • Self Hosted
maned3v
27 Mar, 2023, 10:33

Hi everyone. I know this is a noob question, sorry for that. I installed appwrite using your docker tool on a hetzner VM and it's running smoothly, i just can't find the config file anywhere to set some .env variables. Could you help me locate it? Thanks in advance

TL;DR
The config file in Docker can be found in the user's home directory. For root users, it is located in /root/appwrite/ and for other users, it is in /home/USER/appwrite. Remember to recreate the Appwrite stack after editing the docker-compose.yml or .env files.
safwan
27 Mar, 2023, 10:47

do you mean the ENV variables that appwrite uses?

joeyouss
27 Mar, 2023, 11:35

hi, please see here: https://appwrite.io/docs/environment-variables, it states that "Your Docker files should be located inside the "appwrite" folder at the location where you first run the Appwrite installation script. " - you can find it there

Binyamin
27 Mar, 2023, 11:51

The location of the file are in your user home directory. So if you ran the command as root the files would be in /root/appwrite/ Other users the files would be in /home/USER/appwrite

maned3v
27 Mar, 2023, 11:57

Omg, i looked in every directory in var, etc,.., i even searched it with find but nothing came up. Thank you very much 😃

joeyouss
27 Mar, 2023, 12:19

PS- please make sure to recreate your Appwrite stack after editing your docker-compose.yml or .env files . You can run docker compose up -d for doing that

maned3v
27 Mar, 2023, 12:42

Thank you everyone 😃 👍

maned3v
27 Mar, 2023, 13:02

[SOLVED] Where can i find config file in docker?

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