Skip to content
Snippets Groups Projects
Forked from TransFem.org / Sharkey
7800 commits behind the upstream repository.
  • 파링's avatar
    fix docker health check (#9810) · dee66270
    파링 authored
    * 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 packages
    Unverified
    dee66270
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
healthcheck.sh 145 B
#!/bin/bash

PORT=$(grep '^port:' /misskey/.config/default.yml | awk 'NR==1{print $2; exit}')
curl -s -S -o /dev/null "http://localhost:${PORT}"