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
- Custom Domains
Hi All, Should be a quick config issue. I'm setting up custom domains on the hosted version. I have verified the domain with the CNAME but appwrite isn't gene...
- Unauthorized Charge After Appwrite Pro F...
I was using Appwrite Pro credits worth $100, which were valid until November. During this period, I was exploring Appwrite's services. However, I recently notic...
- Cancelling Pro account and billing perio...
Is it possible to switch back to a free account and cancel a billing period. i switched to pro version for a day and realised i don't need it and i want to retu...