Add Docker health check

Signed-off-by: Andrew Rabert <ar@nullsum.net>
master
Andrew Rabert 7 years ago
parent 3e1ea6f913
commit 83ef76a098
  1. 2
      install/docker/Dockerfile

@ -28,4 +28,6 @@ EXPOSE $AIRSONIC_PORT
VOLUME $AIRSONIC_DIR/data $AIRSONIC_DIR/music $AIRSONIC_DIR/playlists $AIRSONIC_DIR/podcasts
HEALTHCHECK CMD wget -q http://localhost:"$AIRSONIC_PORT""$CONTEXT_PATH"/rest/ping -O /dev/null || exit 1
ENTRYPOINT ["tini", "--", "run.sh"]

Loading…
Cancel
Save