Deploy django project and flower #610
Replies: 4 comments 5 replies
-
Hello guys 👋 Any update on this? We've been stuck with this issue for a while, tried to get help from the Discord server but no one helped us. Is it possible for us to deploy two web services on two different IPs with Kamal? If that's not possible we'd like to know as soon as possible to move on to an alternative tool. Regards, |
Beta Was this translation helpful? Give feedback.
-
@dhh, is there a specific person we can tag to an answer on this quickly? |
Beta Was this translation helpful? Give feedback.
-
@aalhour Kamal by default only enables traefik on the web role, if you want it on another server role you'll need to add https://kamal-deploy.org/docs/configuration#using-different-roles-for-servers |
Beta Was this translation helpful? Give feedback.
-
@nickhammond this the error that return from the kamal deploy
deploy.yaml
We tried hosting them on the same IP and both containers became healthy but traefik took flower and overridden the entrypoint of web with flower, meaning: accessing the IP over HTTP returns the flower service and not the web service. |
Beta Was this translation helpful? Give feedback.
-
trying to deploy a Django project with Flower each one on a separate server
deploy.yml
docker file
start.sh file
The Django and Flower works on port 8000
when I access the first IP with port 8080 it's working fine but when I access the second IP with port 8080 it's not running the flower UI
Does anyone know how I can fix this issue?
Beta Was this translation helpful? Give feedback.
All reactions