mirror of https://github.com/misskey-dev/misskey
fix docker health check (#9810)
* fix(healthcheck): use default commands instead of yq this removes yq command and uses grep and awk to get port * fix: use correct config file * fix: install curl in runner instead of builder * fix: remove unused packagespull/9837/head
parent
0da0cc80b9
commit
dee662705e
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
PORT=$(yq '.port' /misskey/.config/default.yml)
|
||||
PORT=$(grep '^port:' /misskey/.config/default.yml | awk 'NR==1{print $2; exit}')
|
||||
curl -s -S -o /dev/null "http://localhost:${PORT}"
|
||||
|
Loading…
Reference in New Issue