dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Import existing docker images as projects

Open dmatora opened this issue 1 year ago • 5 comments

Not sure what would be proper title for this issue. Initially I had glitchtip installed via docker and serving via nginix.

After bringing down ngninx and installing Coolify to serve on port 80 instead, I was still able to get glitchtip served by Traefik, by updating Traefik configuration according to Coolify docs (added environment configuration with cloud flare keys and added domain labels to glitchtip docker-compose.yml)

After I installed Dokploy, my glitchtip instance of Traefik refused to respect glitchtip docker-compose.yml domain labels, so I had to go back to Coolify

Dokploy uses traefik:v2.5 Coolify uses traefik:v2.10 Maybe that is an issue.

Anyway, besides supporting serving existing docker containers via dokploy-traefik having some sort of UI assisting in importing these into dokploy would be helpful and maybe significant advantage over Coolify

dmatora avatar May 06 '24 14:05 dmatora

Hmm so you are running two traefik instances? the dokploy instance and the coolify?

Siumauricio avatar May 14 '24 03:05 Siumauricio

No, I had to bring down coolify instances to try dokploy

dmatora avatar May 14 '24 05:05 dmatora

so you are saying dokploy-traefik is not recognizing the labels you specified in your docker-compose?

Siumauricio avatar May 14 '24 20:05 Siumauricio

Yes, when I run docker-compose up -d inside glitchtip docker-compose.yml folder

  • with dokploy-traefik running, my glitchtip domain returns 404
  • with coolify-traefik running, my glitchtip domain works

dmatora avatar May 15 '24 16:05 dmatora

Got it.

I understand, I think this problem would come from traefik, from the panel you have to enable docker mode and swarm mode, and now traefik should recognize the labels

providers:
  docker:
    exposedByDefault: false

and make sure to pass this label to the glitchtip instance

  - "traefik.enable=true"

Siumauricio avatar May 16 '24 04:05 Siumauricio

#111 Done

Siumauricio avatar Jun 02 '24 21:06 Siumauricio