
Hello! Before the Appwrite rebrand, I was able to access the .env and docker-compose.yml file for self-hosting at https://appwrite.io/install/compose and https://appwrite.io/install/env, but they now return 404. Where can I find these base files that are described in the installation docs? https://appwrite.io/docs/advanced/self-hosting/#:~:text=download%20the%20Appwrite,files

i came across these https://appwrite.io/docs/advanced/self-hosting/environment-variables

That's helpful for figuring out what the environment variables do, but I don't know what the initial docker-compose.yml or .env file should look like 😦

we still need to get those new links/files on the website...for now, it's best to do the automatic install

Sounds good. Will there be some announcement or way to be notified when the links are updated?

👍🏼 this issue: https://github.com/appwrite/appwrite/issues/6367

on my install (self hosted) where i did not use a one-click setup, e.g. i used the bash command
https://appwrite.io/docs/advanced/self-hosting
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.4.4
and it creates the $(pwd)/appwrite
directory if not existing.
in this directory are the files you are probably looking for.
root@appwrite144:~# ls -la appwrite/
total 36
drwxr-xr-x 2 root root 4096 Oct 2 20:37 .
drwx------ 6 root root 4096 Oct 2 20:37 ..
-rw-r--r-- 1 root root 22710 Oct 2 19:17 docker-compose.yml
-rw-r--r-- 1 root root 3470 Oct 2 20:31 .env
ps: don't run as root in prod. set your normal user with docker permissions.
sudo usermod -aG docker ${USER}
which i have not done on the above snippets from a devbox.
Recommended threads
- Unable to Access Project Dashboard After...
I’m currently working on a team project using Appwrite and ran into an issue accessing my project dashboard. After clearing cookies and cache, I attempted to lo...
- Getting unwanted Errors
Whenever I try to open the app or access the admin panel, I encounter the same types of errors. I've tried multiple times, but the issue keeps recurring.
- Unable to migrate the project to self ho...
The Continue button is disabled in the migration modal. Unable to migrate the project. In both local and cloud appwrite 1.7.4
