coollabsio / coolify

An open-source & self-hostable Heroku / Netlify / Vercel alternative.
https://coolify.io
Apache License 2.0
31.65k stars 1.63k forks source link

[Bug]: Docker compose deployment has empty COOLIFY_FQDN and COOLIFY_URL #2470

Open scflode opened 3 months ago

scflode commented 3 months ago

Description

The Coolify pre defined variables COOLIFY_FQDN and COOLIFY_URL are empty when using a Docker Compose Git based resource. It's empty on all services.

Minimal Reproduction (if possible, example repository)

Exception or Error

No response

Version

v4.0.0-beta.297

herkulano commented 3 months ago

I'm having the same issue with nixpacks

herkulano commented 3 months ago

Maybe related: https://github.com/coollabsio/coolify/issues/2316

colinmollenhour commented 1 month ago

I just ran into this as well, was expecting to be able to do this (using bitnami/magento):

- MAGENTO_HOST=${COOLIFY_URL}

But the environment variable is set but empty.

andrasbacsai commented 3 weeks ago

This will be fixed in the upcoming version.

ruohki commented 1 week ago

APP_URL=${COOLIFY_URL}

will still yield an empty APP_URL on v4.0.0-beta.330