Conversation
Fix env variables `CONVEX_CLOUD_ORIGIN` and `CONVEX_SITE_ORIGIN` to be proper values.
Otherwise, you will get a 404 error running queries/mutations from actions.
Also added `SERVICE_URL_SITE_3211` for site url support. Without this, http actions will have to go to `${SERVICE_URL_BACKEND}/http`
|
Hi @hahagu! 👋 It appears to us that you are either adding a new service or making changes to an existing one. Coolify Docs Repository: https://github.com/coollabsio/coolify-docs |
Commented out SERVICE_URL_SITE_3211 and updated CONVEX_SITE_ORIGIN note.
|
There's currently no way to have a single service with two ports have urls generated for on coolify. |
There's currently no way to have a single service with two ports have urls generated for on coolify. So, we make use of an nginx proxy for the site.
Fix accidentally edited variables in convex.yaml
@hahagu does this mean users need to add those two URLs with their dedicated ports manually? Or did you find a different workaround? Would be good if you could include that information to the Coolify Docs, so people understand better what to do. |
Implemented a nginx proxy as a workaround. |
|
@Cinzya Please review, thanks! |
|
The fact that we cannot generate multiple domains with different ports for one container is most likely a parser bug. I have let Andras know internally and once the bug is fixed the template can be properly updated without an additional proxy. |


Changes
Fix env variables
CONVEX_CLOUD_ORIGINandCONVEX_SITE_ORIGINto be proper values.Otherwise, you will get a 404 error running queries/mutations from actions.
Also added nginx with
SERVICE_URL_SITEfor site url support. Without this, http actions will have to go to${SERVICE_URL_BACKEND}/httpIssues