[adsb-multi-portal-feeder] Fix memory consumption issue on Docker v3

This commit is contained in:
Max Winterstein
2023-04-21 09:17:34 +02:00
committed by GitHub
parent 4d44144ee4
commit 4f7d8d7a24
3 changed files with 8 additions and 4 deletions

View File

@@ -2,6 +2,10 @@
**Fix for memory issues on Home Assistant OS 10 is in progress, pls wait and see [#149](https://github.com/MaxWinterstein/homeassistant-addons/issues/149) for more**
## [1.20.3] - 2023-04-21
- Fix memory consumption issue for _Home Assistant OS 10_ / _Docker v23_ - - see [#149](https://github.com/MaxWinterstein/homeassistant-addons/issues/149) for more
## [1.20.2] - 2023-04-20
- Fix memory consumption issue for _Home Assistant OS 10_ / _Docker v23_ - - see [#149](https://github.com/MaxWinterstein/homeassistant-addons/issues/149) for more

View File

@@ -18,6 +18,9 @@ COPY export-env-from-config.sh /export-env-from-config.sh
RUN find /etc/s6-overlay/s6-rc.d/ -name script | xargs sed -i '1 a\source /export-env-from-config.sh'
RUN find /etc/s6-overlay/s6-rc.d/ -name run | xargs sed -i '1 a\source /export-env-from-config.sh'
# Fix memory issue for e.g. HA OS 10 - see https://github.com/MaxWinterstein/homeassistant-addons/issues/149
RUN sed -i '5 a\ ulimit -n 1048576' /etc/s6-overlay/s6-rc.d/http/run
ENV TZ=UTC
# Add the nice banner
@@ -33,6 +36,3 @@ RUN mkdir -p /etc/s6-overlay/s6-rc.d/banner && \
# enhance timeout, as sometimes the api calls are slow (rate limited?)
ENV S6_CMD_WAIT_FOR_SERVICES_MAXTIME=30000
# Fix memory issue for e.g. HA OS 10 - see https://github.com/MaxWinterstein/homeassistant-addons/issues/149
RUN ulimit -n 1048576

View File

@@ -2,7 +2,7 @@ slug: adsb-multi-portal-feeder
url: https://github.com/MaxWinterstein/homeassistant-addons/
image: ghcr.io/maxwinterstein/homeassistant-adsb-multi-portal-feeder-{arch}
usb: true
version: 1.20.2
version: 1.20.3
arch:
- armv7
- aarch64