Rank 2: Process
Hello. So I installed appwrite on my server and have been developing on it for about a month now. Been able to test my app from my local machine connecting to the online server (VPS running centos 8) and all was good. So when I decided to put the app online, on a different server, I got some error message about requesting an insecure resource. I have been accessing the appwrite server via its IP address. I then did some digging around and learnt that I need to set a custom domain, which I could not do because I did not set the _APP_DOMAIN and _APP_DOMAIN_TARGET. So I went on to try and set these. Given my minimal experience with docker and basic linux skills, it has been quite a challenge. So I managed to create an .env file and set the _APP_DOMAIN variable only, and then ran the docker compsoe command with the .env file option. The command ran for almost 20 minutes, which I found quite weird. All the while, it was giving all sorts of information, including some fatal errors that I wasn't really able to read. Eventually, I terminated the command (ctrl+c) since it would not stop. I figured I had done something wrong, so I deleted the .env file, and ran the docker compose command again. This time it ran for a few seconds and completed. When I tried to access the appwrite console from my browser, it returned a "bad gateway" error. I restarted the container, and even ran docker compose again. Now am getting a "404 page not found error". I cannot access the console from my browser, and am out of ideas on how to restore it, before I can even think of the custom domains. Can anybody bail me out?