From 0ccf1d7a6cf7c64d100e60718806c9725766955b Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Thu, 19 Oct 2023 11:03:42 +0100 Subject: [PATCH] Fix healthcheck, sidekiq on proxy network --- compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index abb58e3..f59cf2a 100644 --- a/compose.yml +++ b/compose.yml @@ -45,7 +45,7 @@ services: #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" - "coop-cloud.${STACK_NAME}.version=0.6.1+3.1.1" healthcheck: - test: "ruby -e \"require 'uri'; require 'net/http'; uri = URI('http://localhost:3000'); res = Net::HTTP.get_response(uri); if res.is_a?(Net::HTTPSuccess) then exit (0) else exit (1) end\"" + test: "ruby -e \"require 'uri'; require 'net/http'; uri = URI('http://localhost:3000/srv/status'); res = Net::HTTP.get_response(uri); if res.is_a?(Net::HTTPSuccess) then exit (0) else exit (1) end\"" interval: 30s timeout: 10s retries: 6 @@ -86,6 +86,7 @@ services: sidekiq: image: bitnami/discourse:3.1.1 networks: + - proxy - internal depends_on: - discourse