Back

help proxy appwrite via coolify

  • 1
  • Self Hosted
  • Functions
  • General
dotthor
11 Apr, 2024, 21:12

I'm trying to deploy appwrite 1.5.4 via coolify. I started a new fresh dockercompose resource and pasted the official compose but stripped of the traefik proxy section since coolify has already a proxy. But now what should i put as app domain's env? Because if i use my fqdn everything works but functions because functions need to generate urls for the endpoints and putting the fqdn in the envs results in "http://66184553cf20aeebb39c.https//aw-dev.dotthor.dev" kinda endpoints (not working). Instead if i put just "dotthor.dev" as app domain it seem to work and produce correct endpoints but when i access them the browser throws "Your connection is not private Attackers might be trying to steal your information from 66184553cf20aeebb39c.dotthor.dev (for example, passwords, messages, or credit cards). Learn more NET::ERR_CERT_AUTHORITY_INVALID" and the certificate is "TRAEFIK DEFAULT CERT" and not let's encrypt.

I'm really a noob with proxy server so any help is appreciated 😧

TL;DR
Developer is trying to deploy Appwrite 1.5.4 via Coolify without using Traefik for proxy. They are struggling with setting up the environment variables for the app domain to get the correct endpoints generated for functions. When using the fully qualified domain name (FQDN), functions generate incorrect endpoints. When using only the root domain, endpoints are correct but encounter certificate issues. The issue seems to be related to SSL certificates. Solution: Ensure SSL certificates are configured correctly for the chosen domain and set the app domain environment variable accordingly to generate correct function endpoints.
ideclon
11 Apr, 2024, 21:15

_APP_DOMAIN is the domain you use to access Appwrite. _APP_DOMAIN_FUNCTIONS is what should be in Function domains after the Function ID.

dotthor
11 Apr, 2024, 21:17

ok imma try right away

dotthor
11 Apr, 2024, 21:17

target?

dotthor
11 Apr, 2024, 21:21
dotthor
11 Apr, 2024, 21:21
dotthor
11 Apr, 2024, 21:22
dotthor
11 Apr, 2024, 21:25

@ideclon

ideclon
11 Apr, 2024, 21:30

You say you've removed Traefik from Appwrite - so this is being served by Coolify, then, not Appwrite. I don't know how Coolify works, so I'm afraid I can't help you with this.

dotthor
11 Apr, 2024, 21:30

Oks thanks anyway

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more