Rank 6: Server
I am planning to create a trafik service for my other docker containers in the same appwrite vps. I am a noob so wanted to ask should I do this? since traefik is already on 443 and 80 port (appwrite)
Votes
0
Replies
13
Participants
Unknown
Messages
14
Rank 6: Server
I am planning to create a trafik service for my other docker containers in the same appwrite vps. I am a noob so wanted to ask should I do this? since traefik is already on 443 and 80 port (appwrite)
I highly encourage minimizing changes to the Appwrite docker-compose.yml file because, then, it'll be harder to upgrade in the future. The easiest thing to do is to have appwrite run on non-standard ports and put a reverse proxy in front of appwrite to expose it on ports 443 and 80. I don't like dealing with reverse proxies so I use Nginx Proxy Manager to easily manage my reverse proxy. If you'd like to do the same, check out https://medium.com/@stnguyen90/how-to-run-appwrite-behind-nginx-19348ed34243
Rank 6: Server
to change ports
Rank 6: Server
best is to edit docker compose file right?
Rank 6: Server
i believe i will be asked the ports again on migration?
yes, you can just edit the compose file
Rank 6: Server
But then appwrite is supposed to work on those non standard ports with custom domain right ??
yes...
Rank 6: Server
It's not working even after docker compose up -d
Rank 6: Server
I have allowed the ports in my firewall-
what's the output of docker ps?
Rank 6: Server
ok so curl -k https://localhost:7443/v1/health/version works?
Rank 6: Server
it worked now 0-0