It was working fine with the H2 db but when I add sonar.properties it fails.
sonar.jdbc.username=sonar
sonar.jdbc.password=toy15awaken
sonar.jdbc.url=jdbc:postgresql://xxxxxx.xxxxxxxxxx.us-east-1.rds.amazonaws.com:5432/sonar_db
Logs:
Jul 28, 2021 @ 20:08:46.216 2021/07/28 14:38:46 [error] 21#21: *9 connect() failed (113: No route to host) while connecting to upstream, client: 172.30.52.66, server: sonarqube-dev.bytemark.co, request: "GET / HTTP/1.1", upstream: "http://172.17.0.19:9000/", host: "172.30.1.25:9004"
Jul 28, 2021 @ 20:08:46.216 2021/07/28 14:38:46 [error] 21#21: *11 connect() failed (113: No route to host) while connecting to upstream, client: 172.30.51.229, server: sonarqube-dev.bytemark.co, request: "GET / HTTP/1.1", upstream: "http://172.17.0.19:9000/", host: "172.30.1.25:9004"
Jul 28, 2021 @ 20:08:46.000 [0237f6d078c1] 172.30.51.229 172.30.1.25:9004 - [28/Jul/2021:14:38:46 +0000] HTTP/1.1 "GET" "/" 502 150 "-" "ELB-HealthChecker/2.0" - 3.039 3.040
Jul 28, 2021 @ 20:08:46.000 [0237f6d078c1] 172.30.52.66 172.30.1.25:9004 - [28/Jul/2021:14:38:46 +0000] HTTP/1.1 "GET" "/" 502 150 "-" "ELB-HealthChecker/2.0" - 3.056 3.056
Jul 28, 2021 @ 20:08:16.232 2021/07/28 14:38:16 [error] 21#21: *5 connect() failed (113: No route to host) while connecting to upstream, client: 172.30.52.66, server: sonarqube-dev.bytemark.co, request: "GET / HTTP/1.1", upstream: "http://172.17.0.19:9000/", host: "172.30.1.25:9004"
Jul 28, 2021 @ 20:08:16.232 2021/07/28 14:38:16 [error] 21#21: *7 connect() failed (113: No route to host) while connecting to upstream, client: 172.30.51.229, server: sonarqube-dev.bytemark.co, request: "GET / HTTP/1.1", upstream: "http://172.17.0.19:9000/", host: "172.30.1.25:9004"
Jul 28, 2021 @ 20:08:16.000 [0237f6d078c1] 172.30.51.229 172.30.1.25:9004 - [28/Jul/2021:14:38:16 +0000] HTTP/1.1 "GET" "/" 502 150 "-" "ELB-HealthChecker/2.0" - 3.058 3.060
Jul 28, 2021 @ 20:08:16.000 [0237f6d078c1] 172.30.52.66 172.30.1.25:9004 - [28/Jul/2021:14:38:16 +0000] HTTP/1.1 "GET" "/" 502 150 "-" "ELB-HealthChecker/2.0" - 3.074 3.076
Jul 28, 2021 @ 20:07:46.216 2021/07/28 14:37:46 [error] 21#21: *1 connect() failed (113: No route to host) while connecting to upstream, client: 172.30.52.66, server: sonarqube-dev.bytemark.co, request: "GET / HTTP/1.1", upstream: "http://172.17.0.19:9000/", host: "172.30.1.25:9004"
Jul 28, 2021 @ 20:07:46.216 2021/07/28 14:37:46 [error] 21#21: *3 connect() failed (113: No route to host) while connecting to upstream, client: 172.30.51.229, server: sonarqube-dev.bytemark.co, request: "GET / HTTP/1.1", upstream: "http://172.17.0.19:9000/", host: "172.30.1.25:9004"
Jul 28, 2021 @ 20:07:46.000 [0237f6d078c1] 172.30.52.66 172.30.1.25:9004 - [28/Jul/2021:14:37:46 +0000] HTTP/1.1 "GET" "/" 502 150 "-" "ELB-HealthChecker/2.0" - 3.051 3.052
Jul 28, 2021 @ 20:07:46.000 [0237f6d078c1] 172.30.51.229 172.30.1.25:9004 - [28/Jul/2021:14:37:46 +0000] HTTP/1.1 "GET" "/" 502 150 "-" "ELB-HealthChecker/2.0" - 3.035 3.036
Jul 28, 2021 @ 20:07:24.222 2021/07/28 14:37:24 [warn] 1#1: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/nginx.conf:73
Jul 28, 2021 @ 20:07:24.222 nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/nginx.conf:73
Jul 28, 2021 @ 20:07:24.210 /docker-entrypoint.sh: Configuration complete; ready for start up
Jul 28, 2021 @ 20:07:24.209 /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
Jul 28, 2021 @ 20:07:24.203 /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
Jul 28, 2021 @ 20:07:24.203 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist
Jul 28, 2021 @ 20:07:24.200 /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
Jul 28, 2021 @ 20:07:24.194 /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
Jul 28, 2021 @ 20:07:24.194 /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
Jul 28, 2021 @ 20:07:23.578 2021.07.28 14:37:23 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
Jul 28, 2021 @ 20:07:23.554 2021.07.28 14:37:23 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
Jul 28, 2021 @ 20:07:23.553 2021.07.28 14:37:23 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1