docker-cabot icon indicating copy to clipboard operation
docker-cabot copied to clipboard

Deployment on DigitalOcean

Open tinamrak opened this issue 5 years ago • 1 comments

Hi, I'm trying to deploy this on a DO droplet. I'm pretty new to this and I ran into a problem.

I followed the instructions from here: https://cabotapp.com/qs/quickstart.html (cloned the repository, made the production.env file, and ran docker compose with caddy as a reverse proxy).

This is my Caddyfile:

subdomain.domain.com {
  proxy / http://127.0.0.1:5000 {
    header_upstream Host {host}
  }
}

But when I go to subdomain.domain.com I get "502 Bad Gateway".

Anyone has an idea what could be wrong?

tinamrak avatar Apr 01 '19 13:04 tinamrak

I got it to work! I had to set insecure_skip_verify in my Caddyfile. See: https://caddy.community/t/im-getting-502-bad-gateway-errors-with-proxy/4505/2

tinamrak avatar Apr 01 '19 13:04 tinamrak