New Magic Env Var: Predefined Network Suffix #4960
bioshazard
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Coolify has many magic variables to simplify docker compose wiring. I was unable to find any docs on it, but would like to see a variable to auto-handle the "but this will make the internal Docker DNS not work as expected" thing as noted in the docs:
https://coolify.io/docs/knowledge-base/docker/compose#connect-to-predefined-networks
I am thinking something like
${SERVICE_PREDEFINED}
that would default to an empty string and when you enabled predefined networks, it would become-$PROJECTID
following the guidance linked above. That way coolify-aware compose files could add it inline with the intra-compose services and everything would "just work". eg, I deployed a gitlab runner yesterday:Is this already feasible? Anyone interested if I attempt to contribute such a feature?
Beta Was this translation helpful? Give feedback.
All reactions