Used getredash/setup on Ubuntu 18.04 but I get 502 Bad Gateway from nginx

Issue Summary

After installation with Docker I get 502 Bad Gateway error from nginx (on http://localhost).

Technical details:

  • Redash Version:
    I used “setup.sh” from the latest “getredash/setup” (Latest commit cb47626 on 28 Oct 2019), this way:

chmod u+x setup.sh
source setup.sh

  • Browser/OS:
    curl on Ubuntu 18.04.4 LTS, on the same machine where I’ve launched “setup.sh”

  • How did you install Redash:

git clone --depth=1 https://github.com/getredash/setup.git redash-docker
cd redash-docker

Changed file “data/docker-compose.yml” with postgres: environment: POSTGRES_HOST_AUTH_METHOD: “trust”. Then:

chmod u+x setup.sh
source setup.sh
cd /opt/redash
docker-compose up -d

…I get this:

redash_redis_1 is up-to-date
redash_postgres_1 is up-to-date
Starting redash_adhoc_worker_1 …
Starting redash_adhoc_worker_1 … done
Starting redash_scheduler_1 … done
Starting redash_scheduled_worker_1 … done
redash_nginx_1 is up-to-date

But then:

curl http://localhost

…gives the 502 Bad Gateway page from nginx.

Can you tell why it doesn’t work and how to fix or re-do in a correct way?
I expect at this point that curl (or anyway browsing) to localhost should give the browser-based setup page.