Skip to content

Conversation

@hahagu
Copy link

@hahagu hahagu commented Nov 12, 2025

Changes

  • 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 nginx with SERVICE_URL_SITE for site url support. Without this, http actions will have to go to ${SERVICE_URL_BACKEND}/http

Issues

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`
@ShadowArcanist ShadowArcanist added the ⚙️ Service Issues requesting or PRs adding/fixing service templates. label Nov 13, 2025
@github-actions
Copy link
Contributor

Hi @hahagu! 👋

It appears to us that you are either adding a new service or making changes to an existing one.
We kindly ask you to also review and update the Coolify Documentation to include this new service or it's new configuration needs.
This will help ensure that our documentation remains accurate and up-to-date for all users.

Coolify Docs Repository: https://github.com/coollabsio/coolify-docs
How to Contribute a new Service to the Docs: https://coolify.io/docs/get-started/contribute/service#adding-a-new-service-template-to-the-coolify-documentation

Copy link

@orenaksakal orenaksakal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sacha-baron-cohen-thumbs-up-gif-by-amazon-prime-video

Commented out SERVICE_URL_SITE_3211 and updated CONVEX_SITE_ORIGIN note.
@hahagu
Copy link
Author

hahagu commented Nov 14, 2025

There's currently no way to have a single service with two ports have urls generated for on coolify.
Therefore, I have commented out SERVICE_URL_SITE_3211.

@hahagu hahagu marked this pull request as draft November 14, 2025 23:09
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 hahagu marked this pull request as ready for review November 14, 2025 23:23
@Cinzya
Copy link
Member

Cinzya commented Nov 16, 2025

There's currently no way to have a single service with two ports have urls generated for on coolify.
Therefore, I have commented out SERVICE_URL_SITE_3211.

@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.

@Cinzya Cinzya added the 💤 Waiting for changes PRs awaiting changes from the author. label Nov 16, 2025
@hahagu
Copy link
Author

hahagu commented Nov 22, 2025

There's currently no way to have a single service with two ports have urls generated for on coolify.
Therefore, I have commented out SERVICE_URL_SITE_3211.

@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.

@hahagu hahagu marked this pull request as draft November 22, 2025 08:27
@hahagu hahagu marked this pull request as ready for review November 22, 2025 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚙️ Service Issues requesting or PRs adding/fixing service templates. 💤 Waiting for changes PRs awaiting changes from the author.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants