Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,13 @@ COPY root/ /
EXPOSE 8989

VOLUME /config

HEALTHCHECK \
--interval=30s \
--timeout=10s \
--start-period=60s \
--retries=3 \
CMD curl --fail --silent --show-error \
--connect-timeout 2 \
--max-time 5 \
"http://127.0.0.1:8989$(awk -F'[<>]' '$2 == "UrlBase" { print $3; exit }' /config/config.xml)/ping"
10 changes: 10 additions & 0 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,13 @@ COPY root/ /
EXPOSE 8989

VOLUME /config

HEALTHCHECK \
--interval=30s \
--timeout=10s \
--start-period=60s \
--retries=3 \
CMD curl --fail --silent --show-error \
--connect-timeout 2 \
--max-time 5 \
"http://127.0.0.1:8989$(awk -F'[<>]' '$2 == "UrlBase" { print $3; exit }' /config/config.xml)/ping"
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ init_diagram: |
"sonarr:latest" <- Base Images
# changelog
changelogs:
- {date: "29.07.26:", desc: "Add healthcheck."}
- {date: "09.07.26:", desc: "Workaround malformed ncurses database."}
- {date: "04.07.26:", desc: "Rebase to Alpine 3.24."}
- {date: "15.01.26:", desc: "Rebase to Alpine 3.23."}
Expand Down