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
- Startup credits or promo code inquiry fo...
Hello Appwrite team, Happy New Year! I hope you’re all doing well. I’m currently exploring backend solutions for a new SaaS project and Appwrite came highly re...
- Need a web developer
Need. Web developer for a paid project/collaboration
- Free plan Usage
I using a free plan with one organization. I have three projects but on the free plan I should be able to have 2 projects running But in my case only 1 out of ...