瀏覽代碼

Fix --health-cmd for mastodon-streaming container

Dennis Rodewyk 5 年之前
父節點
當前提交
2bab786d81
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      data/services/mastodon/containers.sh

+ 1 - 1
data/services/mastodon/containers.sh

@@ -18,7 +18,7 @@ mastodon_streaming_dockerbunker() {
 	docker run -d --user mastodon \
 		--name=${FUNCNAME[0]//_/-} \
 		--restart=always \
-		--health-cmd="wget -q --spider --header 'x-forwarded-proto: https' --proxy=off localhost:4000/api/v1/instance || exit 1" \
+		--health-cmd="wget -q --spider --header 'x-forwarded-proto: https' --proxy=off localhost:4000/api/v1/streaming/health || exit 1" \
 		--health-interval=30s \
 		--network ${NETWORK} \
 		--network dockerbunker-${SERVICE_NAME} \