cabotapp / docker-cabot

Docker and docker-compose files for Cabot
https://hub.docker.com/r/cabotapp/cabot/
58 stars 31 forks source link

Deployment on DigitalOcean #29

Open tinamrak opened 5 years ago

tinamrak commented 5 years ago

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 commented 5 years ago

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