coolify icon indicating copy to clipboard operation
coolify copied to clipboard

[Feature v4] External proxy support

Open MrSquaare opened this issue 11 months ago • 3 comments

The ability to use a custom external proxy

Currently, in version 4-beta.23, it is possible to choose a custom destination, which can only work for an external Traefik that:

  • Use host network
  • Have entrypoints named http and https
  • Have a certresolver named letsencrypt
  • Have a middleware http-to-https

Otherwise, it won't work.

Solutions:

  • Allow the user to define one or more docker compose files and then merge them together
    • Via a custom merge
    • Via compose specification: https://docs.docker.com/compose/multiple-compose-files/merge/
      • This solution requires that the service has always the same name (not suffixed by the build timestamp)

MrSquaare avatar Sep 01 '23 17:09 MrSquaare

I created a mapper to use coolify generated Traefik configs with an external Traefik instance, it's not on a par with features we used to have in V3 with traefik-http-provider-mapper but it supports changing entrypoints and certresolver names at the moment I've tested it with coolify panel itself and it works Let me know what you think about it https://github.com/EAliakbar/traefik-file-provider-mapper

EAliakbar avatar Sep 19 '23 22:09 EAliakbar

I created a mapper to use coolify generated Traefik configs with an external Traefik instance, it's not on a par with features we used to have in V3 with traefik-http-provider-mapper but it supports changing entrypoints and certresolver names at the moment I've tested it with coolify panel itself and it works Let me know what you think about it EAliakbar/traefik-file-provider-mapper

Didn't see the comment, cool alternative to traefik-http-provider-mapper!

External proxy is partially supported for proxies who support Docker labels via custom labels feature (for now, only for applications)

PS: I think this issue should be converted to a discussion since, if I understand, issues will be only for bugs

MrSquaare avatar Oct 25 '23 20:10 MrSquaare

Is this related to #1483 ?

swissbyte avatar Nov 24 '23 18:11 swissbyte