Closed Tekchanddagar closed 4 months ago
Hi Team, Can you please guide me on above issue? Thank You
@Tekchanddagar if you don't have anything else in your deploy.yml
, then it looks like a pretty default config except for two things:
I suggest reset the to default, make sure that everything works and do any changes only after this.
@igor-alexandrov , Thank You for your response.
As i am new to kamal. Was making one mistake. Inside kamal config/deploy.yml
i was using below config:
servers:
web:
hosts:
- 1.2.3.4
port: "8080:8080"
But traefik by default listen on port 80 and my app was running on port 8080.
So I have changes the host port from 8080 to port 80 inside my kamal config/deploy.yml
file i.e
servers:
web:
hosts:
- 1.2.3.4
port: "80:8080"
And after making this change my site is up.
Thank You
@Tekchanddagar I am glad it helped. Please close the issue.
Hello Team, I am new to Kamal. My
Kamal Version: 1.3.0
I am exploring kamal to deploy our ruby app. I am able to create my app container (As health check is passing) and traefik container is also created which is exposing port 80 on host node.
Below is my kamal
config/deploy.yml
file:on my target host
1.2.3.4
i can see my app conatiner and treafik is running fine. But when i checked treafik container logs i can see502 bad gateway error
means request is reaching upto treafik but its unable to forward to app container.But i am unable to understand how the treafik will forward the request to my app container.
Can you please point me in right direction which configuration i am missing here. So i can test my app functionality.
Can you please help me here?
Thank You