diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index 83b26ea..4355c3d 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -3,5 +3,10 @@ updates: - package-ecosystem: "github-actions" directory: "/" schedule: - interval: weekly + interval: "weekly" + time: "06:00" + - package-ecosystem: "docker" + directory: "/" + schedule: + interval: "weekly" time: "06:00" diff --git a/Dockerfile b/Dockerfile index 204c1de..8554578 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ -ARG BUILD_FROM -FROM $BUILD_FROM +FROM "ghostfolio/ghostfolio:2.65.0" ARG BUILD_ARCH ARG BASHIO_VERSION=0.16.2 diff --git a/build.json b/build.json index e4cd60b..2b9fd5f 100644 --- a/build.json +++ b/build.json @@ -1,14 +1,14 @@ { "build_from": { - "aarch64": "ghostfolio/ghostfolio:2.65.0", - "amd64": "ghostfolio/ghostfolio:2.65.0", - "armv7": "ghostfolio/ghostfolio:2.65.0" + "aarch64": "ghostfolio/ghostfolio:not-used", + "amd64": "ghostfolio/ghostfolio:not-used", + "armv7": "ghostfolio/ghostfolio:not-used" }, "args": { "ghostfolio_version": "2.65.0" }, "labels": { - "org.opencontainers.image.title": "Home Assistant Add-on: Ghostfolio TESTME", + "org.opencontainers.image.title": "Home Assistant Add-on: Ghostfolio", "org.opencontainers.image.description": "Privacy-first, open source dashboard for your personal finances.", "org.opencontainers.image.source": "https://github.com/lildude/ha-addon-ghostfolio/", "org.opencontainers.image.licenses": "MIT" diff --git a/rootfs/etc/services.d/ghostfolio/run b/rootfs/etc/services.d/ghostfolio/run index 30cc1b1..47d5d66 100644 --- a/rootfs/etc/services.d/ghostfolio/run +++ b/rootfs/etc/services.d/ghostfolio/run @@ -43,8 +43,10 @@ ingress_entry=$(curl -X GET \ -s http://supervisor/addons/self/info | \ jq -r '.data.ingress_entry') -sed -Ei "s^(\`|\")/api^\1${ingress_entry}/api^g" /ghostfolio/apps/client/*/*.js -sed -Ei "s^\(/assets^\(${ingress_entry}/assets^g" /ghostfolio/apps/client/*/*.js +if [[ $(grep hassio_ingress /ghostfolio/apps/client/en/main.*.js) -eq 0 ]]; then + sed -Ei "s^(\`|\")/api^\1${ingress_entry}/api^g" /ghostfolio/apps/client/*/*.js + sed -Ei "s^\(/assets^\(${ingress_entry}/assets^g" /ghostfolio/apps/client/*/*.js +fi cd /ghostfolio/apps/api yarn start:production \ No newline at end of file