Skip to content

Commit 351df93

Browse files
committed
music-assistant: healthcheck use GET not HEAD (avoid MA wget spider warning)
Made-with: Cursor
1 parent fbd0b03 commit 351df93

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

apps/music-assistant/docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ services:
2222
ports:
2323
- 8095:8095
2424
- 8096:8096
25+
# Use GET (wget -qO-), not wget --spider — spider sends HEAD and MA logs it as unhandled.
2526
healthcheck:
26-
test: ["CMD-SHELL", "wget -q --spider http://127.0.0.1:8095/ || exit 1"]
27+
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8095/ >/dev/null || exit 1"]
2728
interval: 30s
2829
timeout: 10s
2930
retries: 3

docs/apps-compose-healthchecks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This document complements the healthchecks defined under `apps/*/docker-compose.
4040
| **piper** | TCP `:10200` | Default Wyoming port; change if you override the listener. |
4141
| **whisper** | TCP `:10300` | Same as above; long `start_period` for model load. |
4242
| **postfix** | TCP `:587` | Submission port listening. |
43-
| **music-assistant** | `wget --spider` `:8095` | `network_mode: host`. |
43+
| **music-assistant** | `wget -qO-` GET `:8095` | `network_mode: host`. (`wget --spider` uses **HEAD** and MA logs it as unhandled.) |
4444
| **dnsmasq** | `pidof dnsmasq` | |
4545
| **rsyslog** | `pidof rsyslogd` | |
4646
| **snapserver** | TCP `:1704` | Snapcast stream port; needs `bash`. |

0 commit comments

Comments
 (0)