Skip to content

Commit

Permalink
change binary nodejs name
Browse files Browse the repository at this point in the history
  • Loading branch information
jehy committed Apr 22, 2024
1 parent ca1368d commit 6325946
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions dbstats/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.5.2

- Update nodejs binary name to fix bug in aarch64 build

## 0.5.1

- Update base node image to fix bug in aarch64 build
Expand Down
4 changes: 2 additions & 2 deletions dbstats/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ WORKDIR /usr/src/app
RUN npm ci --omit=dev && npm cache clean --force ## need to reinstall deps because they can be binary incompatible

# Health check
HEALTHCHECK --start-period=10 \
CMD curl --fail http://127.0.0.1:3000 || exit 1
#HEALTHCHECK --start-period=10s \
# CMD curl --fail http://127.0.0.1:3000 || exit 1

# Build arguments
ARG BUILD_ARCH
Expand Down
2 changes: 1 addition & 1 deletion dbstats/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ and push the button to add it to HA, or add it manually:
2. Press three dots in the top right corner
3. Add repository `https://github.com/jehy/hass-addons` to addon repositories
4. Install addon from addons page
5. Start addon and visit it's page
5. Start addon and visit its page

## Using without supervisor or HAOS:

Expand Down
2 changes: 1 addition & 1 deletion dbstats/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: DbStats
version: 0.5.1
version: 0.5.2
slug: dbstats
description: Database stats for Home Assistant
image: ghcr.io/jehy/dbstats-addon-{arch}
Expand Down
2 changes: 1 addition & 1 deletion dbstats/rootfs/etc/services.d/nodejs/run
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# Runs dbstats
# ==============================================================================
bashio::log.info "Starting dbstats..."
exec nodejs /usr/src/app/dist/backend/src/main.js
exec node /usr/src/app/dist/backend/src/main.js

0 comments on commit 6325946

Please sign in to comment.