Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hassio-addons/addon-thelounge
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.16.0
Choose a base ref
...
head repository: hassio-addons/addon-thelounge
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Aug 21, 2022

  1. Copy the full SHA
    cb7a6c7 View commit details

Commits on Nov 10, 2022

  1. Copy the full SHA
    2dd5a77 View commit details

Commits on Nov 15, 2022

  1. Copy the full SHA
    207a6ad View commit details
  2. Copy the full SHA
    80eaadf View commit details
  3. Copy the full SHA
    6b60399 View commit details
  4. Copy the full SHA
    5fe9e0d View commit details

Commits on Jan 20, 2023

  1. Copy the full SHA
    fe8492e View commit details
  2. Copy the full SHA
    f9fc7e4 View commit details
  3. Copy the full SHA
    bf8e27e View commit details
  4. Copy the full SHA
    6133890 View commit details

Commits on Mar 25, 2023

  1. Copy the full SHA
    4642069 View commit details
  2. ⬆️ Update alpine_3_17/git to v2.38.4-r1 (#133)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 25, 2023
    Copy the full SHA
    8006357 View commit details
  3. ⬆️ Update alpine_3_17/python3 to v3.10.10-r0 (#134)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 25, 2023
    Copy the full SHA
    b3668c3 View commit details
  4. ⬆️ Update alpine_3_17/nodejs to v18.14.2-r0 (#137)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 25, 2023
    Copy the full SHA
    c6a21d8 View commit details
  5. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v13.1.4 (#136)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 25, 2023
    Copy the full SHA
    459be2b View commit details

Commits on Mar 28, 2023

  1. Fix broken URL (#138)

    wrt54g authored Mar 28, 2023
    Copy the full SHA
    18ec5cb View commit details
  2. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v13.1.5 (#139)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 28, 2023
    Copy the full SHA
    77a3b8d View commit details

Commits on Apr 3, 2023

  1. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v13.2.0 (#140)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 3, 2023
    Copy the full SHA
    5357a94 View commit details

Commits on Apr 11, 2023

  1. ⬆️ Update alpine_3_17/python3 to v3.10.11-r0 (#142)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 11, 2023
    Copy the full SHA
    d1201f2 View commit details

Commits on Apr 15, 2023

  1. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v13.2.1 (#143)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 15, 2023
    Copy the full SHA
    0b4dc3e View commit details

Commits on Apr 22, 2023

  1. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v13.2.2 (#144)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 22, 2023
    Copy the full SHA
    39fd308 View commit details

Commits on Apr 26, 2023

  1. ⬆️ Update alpine_3_17/git to v2.38.5-r0 (#145)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 26, 2023
    Copy the full SHA
    9f25e77 View commit details

Commits on May 17, 2023

  1. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14 (#147)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Franck Nijhof <git@frenck.dev>
    renovate[bot] and frenck authored May 17, 2023
    Copy the full SHA
    e09a9ee View commit details
  2. ⬆️ Update thelounge/thelounge to v4.4.0 (#148)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 17, 2023
    Copy the full SHA
    e8aeaf1 View commit details

Commits on May 22, 2023

  1. ⬆️ Update alpine_3_18/nginx to v1.24.0-r4 (#149)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 22, 2023
    Copy the full SHA
    bd6b993 View commit details

Commits on May 24, 2023

  1. ⬆️ Update alpine_3_18/nginx to v1.24.0-r5 (#150)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 24, 2023
    Copy the full SHA
    7a47e9c View commit details

Commits on May 26, 2023

  1. Copy the full SHA
    0b8b212 View commit details

Commits on Jun 13, 2023

  1. ⬆️ Update alpine_3_18/python3 to v3.11.4-r0 (#152)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 13, 2023
    Copy the full SHA
    1c99457 View commit details
  2. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14.0.1 (#153)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 13, 2023
    Copy the full SHA
    524df68 View commit details

Commits on Jun 15, 2023

  1. ⬆️ Update alpine_3_18/icu-data-full to v73.2-r0 (#154)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 15, 2023
    Copy the full SHA
    f9063ea View commit details

Commits on Jun 19, 2023

  1. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14.0.2 (#156)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 19, 2023
    Copy the full SHA
    822e572 View commit details

Commits on Jun 20, 2023

  1. ⬆️ Update thelounge/thelounge to v4.4.1 (#155)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 20, 2023
    Copy the full SHA
    7223c9d View commit details

Commits on Jul 3, 2023

  1. ⬆️ Update alpine_3_18/icu-data-full to v73.2-r1 (#158)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 3, 2023
    Copy the full SHA
    543985f View commit details
  2. ⬆️ Update alpine_3_18/nodejs to v18.16.1-r0 (#157)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 3, 2023
    Copy the full SHA
    f18d27f View commit details

Commits on Jul 13, 2023

  1. Copy the full SHA
    d8bdd6b View commit details

Commits on Jul 18, 2023

  1. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14.0.3 (#160)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 18, 2023
    Copy the full SHA
    0d29154 View commit details

Commits on Jul 19, 2023

  1. ⬆️ Update alpine_3_18/nodejs to v18.17.0-r0 (#161)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 19, 2023
    Copy the full SHA
    b2e13f4 View commit details

Commits on Jul 22, 2023

  1. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14.0.5 (#162)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 22, 2023
    Copy the full SHA
    814082a View commit details

Commits on Aug 1, 2023

  1. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14.0.7 (#163)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 1, 2023
    Copy the full SHA
    37c8ea1 View commit details

Commits on Aug 7, 2023

  1. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14.0.8 (#164)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 7, 2023
    Copy the full SHA
    5c5936c View commit details

Commits on Aug 8, 2023

  1. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14.1.0 (#165)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 8, 2023
    Copy the full SHA
    f77880c View commit details

Commits on Aug 24, 2023

  1. ⬆️ Update alpine_3_18/nodejs to v18.17.1-r0 (#166)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 24, 2023
    Copy the full SHA
    32dcdf3 View commit details

Commits on Aug 28, 2023

  1. Copy the full SHA
    6a54530 View commit details

Commits on Sep 21, 2023

  1. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14.1.1 (#169)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 21, 2023
    Copy the full SHA
    cd4702b View commit details

Commits on Sep 26, 2023

  1. Ditch CAS

    frenck committed Sep 26, 2023
    Copy the full SHA
    0ba4c71 View commit details

Commits on Oct 5, 2023

  1. ⬆️ Update alpine_3_18/python3 to v3.11.6-r0 (#171)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 5, 2023
    Copy the full SHA
    50bfa2b View commit details

Commits on Oct 6, 2023

  1. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14.2.0 (#170)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 6, 2023
    Copy the full SHA
    31e1c88 View commit details

Commits on Oct 7, 2023

  1. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14.2.1 (#172)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 7, 2023
    Copy the full SHA
    835c557 View commit details

Commits on Oct 12, 2023

  1. ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14.2.2 (#173)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 12, 2023
    Copy the full SHA
    821b30a View commit details

Commits on Oct 15, 2023

  1. ⬆️ Update alpine_3_18/nodejs to v18.18.2-r0 (#174)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 15, 2023
    Copy the full SHA
    d48b136 View commit details
Showing with 162 additions and 58 deletions.
  1. +0 −8 .github/dependabot.yaml
  2. +76 −0 .github/renovate.json
  3. +0 −1 .github/workflows/deploy.yaml
  4. +1 −1 LICENSE.md
  5. +4 −4 README.md
  6. +1 −1 thelounge/.README.j2
  7. +2 −2 thelounge/DOCS.md
  8. +11 −12 thelounge/Dockerfile
  9. +3 −5 thelounge/build.yaml
  10. +0 −2 thelounge/config.yaml
  11. 0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/init-nginx/dependencies.d/base
  12. +1 −0 thelounge/rootfs/etc/{cont-init.d/nginx.sh → s6-overlay/s6-rc.d/init-nginx/run}
  13. +1 −0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/init-nginx/type
  14. +1 −0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/init-nginx/up
  15. 0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/init-thelounge/dependencies.d/base
  16. +1 −0 thelounge/rootfs/etc/{cont-init.d/thelounge.sh → s6-overlay/s6-rc.d/init-thelounge/run}
  17. +1 −0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/init-thelounge/type
  18. +1 −0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/init-thelounge/up
  19. 0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/nginx/dependencies.d/init-nginx
  20. 0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/nginx/dependencies.d/thelounge
  21. +27 −0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/nginx/finish
  22. +1 −0 thelounge/rootfs/etc/{services.d → s6-overlay/s6-rc.d}/nginx/run
  23. +1 −0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/nginx/type
  24. 0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/thelounge/dependencies.d/init-thelounge
  25. +27 −0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/thelounge/finish
  26. +1 −0 thelounge/rootfs/etc/{services.d → s6-overlay/s6-rc.d}/thelounge/run
  27. +1 −0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/thelounge/type
  28. 0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/init-nginx
  29. 0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/init-thelounge
  30. 0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/nginx
  31. 0 thelounge/rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/thelounge
  32. +0 −11 thelounge/rootfs/etc/services.d/nginx/finish
  33. +0 −11 thelounge/rootfs/etc/services.d/thelounge/finish
8 changes: 0 additions & 8 deletions .github/dependabot.yaml

This file was deleted.

76 changes: 76 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"rebaseWhen": "behind-base-branch",
"dependencyDashboard": true,
"labels": ["dependencies", "no-stale"],
"commitMessagePrefix": "⬆️",
"commitMessageTopic": "{{depName}}",
"customManagers": [
{
"customType": "regex",
"fileMatch": ["/Dockerfile$", "/build.yaml$"],
"matchStringsStrategy": "any",
"matchStrings": [
"ARG BUILD_FROM=(?<depName>.*?):(?<currentValue>.*?)\\s+",
"(aarch64|amd64|armhf|armv7|i386):\\s[\"']?(?<depName>.*?):(?<currentValue>.*?)[\"']?\\s"
],
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"fileMatch": ["/Dockerfile$"],
"matchStringsStrategy": "any",
"matchStrings": [
"\\s\\s(?<package>[a-z0-9][a-z0-9-_]+)=(?<currentValue>[a-z0-9-_.]+)\\s+"
],
"versioningTemplate": "loose",
"datasourceTemplate": "repology",
"depNameTemplate": "alpine_3_21/{{package}}"
},
{
"customType": "regex",
"fileMatch": ["/Dockerfile$"],
"matchStrings": [
"ARG THE_LOUNGE_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "thelounge/thelounge"
}
],
"packageRules": [
{
"matchDatasources": ["repology"],
"automerge": true
},
{
"groupName": "Add-on base image",
"matchDatasources": ["docker"]
},
{
"groupName": "Add-on base image",
"matchDatasources": ["docker"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"matchDatasources": ["github-releases"],
"matchDepNames": ["thelounge/thelounge"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"matchManagers": ["pip_requirements"],
"addLabels": ["python"]
},
{
"matchManagers": ["pip_requirements"],
"matchDepTypes": ["dev"],
"rangeStrategy": "pin"
},
{
"matchManagers": ["pip_requirements"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
}
]
}
1 change: 0 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -16,5 +16,4 @@ jobs:
workflows:
uses: hassio-addons/workflows/.github/workflows/addon-deploy.yaml@main
secrets:
CAS_API_KEY: ${{ secrets.CAS_API_KEY }}
DISPATCH_TOKEN: ${{ secrets.DISPATCH_TOKEN }}
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MIT License

Copyright (c) 2019-2022 Timmo
Copyright (c) 2019-2025 Timmo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -74,7 +74,7 @@ our [GitHub Repository][repository].

MIT License

Copyright (c) 2019-2022 Timmo
Copyright (c) 2019-2025 Timmo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -96,7 +96,7 @@ SOFTWARE.

[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
[armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg
[armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg
[armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg
[buymeacoffee-shield]: https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg
[buymeacoffee]: https://www.buymeacoffee.com/timmo
@@ -111,10 +111,10 @@ SOFTWARE.
[forum]: https://community.home-assistant.io/?u=timmo001
[github-actions-shield]: https://github.com/hassio-addons/addon-thelounge/workflows/CI/badge.svg
[github-actions]: https://github.com/hassio-addons/addon-thelounge/actions
[i386-shield]: https://img.shields.io/badge/i386-yes-green.svg
[i386-shield]: https://img.shields.io/badge/i386-no-red.svg
[issue]: https://github.com/hassio-addons/addon-thelounge/issues
[license-shield]: https://img.shields.io/github/license/hassio-addons/addon-thelounge.svg
[maintenance-shield]: https://img.shields.io/maintenance/yes/2022.svg
[maintenance-shield]: https://img.shields.io/maintenance/yes/2025.svg
[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg
[reddit]: https://reddit.com/r/homeassistant
[releases-shield]: https://img.shields.io/github/release/hassio-addons/addon-thelounge.svg
2 changes: 1 addition & 1 deletion thelounge/.README.j2
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ If you are more interested in stable releases of our add-ons:
[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg
[forum]: https://community.home-assistant.io/?u=timmo001
[hass]: https://www.home-assistant.io/
[maintenance-shield]: https://img.shields.io/maintenance/yes/2022.svg
[maintenance-shield]: https://img.shields.io/maintenance/yes/2025.svg
[midnight-theme]: https://raw.githubusercontent.com/timmo001/thelounge/master/docs/resources/midnight-theme.png
[more-info-light]: https://raw.githubusercontent.com/timmo001/thelounge/master/docs/resources/more-info-light.png
[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg
4 changes: 2 additions & 2 deletions thelounge/DOCS.md
Original file line number Diff line number Diff line change
@@ -129,7 +129,7 @@ check [the contributor's page][contributors].

MIT License

Copyright (c) 2019-2022 Timmo
Copyright (c) 2019-2025 Timmo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -158,6 +158,6 @@ SOFTWARE.
[issue]: https://github.com/hassio-addons/addon-thelounge/issues
[reddit]: https://reddit.com/r/homeassistant
[releases]: https://github.com/hassio-addons/addon-thelounge/releases
[semver]: http://semver.org/spec/v2.0.0.htm
[semver]: https://semver.org/spec/v2.0.0.html
[themes]: https://www.npmjs.com/search?q=keywords%3Athelounge-theme
[timmo]: https://github.com/timmo001
23 changes: 11 additions & 12 deletions thelounge/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
ARG BUILD_FROM=ghcr.io/hassio-addons/base:12.2.1
ARG BUILD_FROM=ghcr.io/hassio-addons/base:17.2.1
# hadolint ignore=DL3006
FROM ${BUILD_FROM}

# Install packages
ARG THE_LOUNGE_VERSION="v4.4.3"
# hadolint ignore=DL3003
RUN \
apk add --no-cache --virtual .build-dependencies \
g++=11.2.1_git20220219-r2 \
git=2.36.2-r0 \
make=4.3-r0 \
python3=3.10.4-r0 \
yarn=1.22.19-r0 \
\
&& ln -s /usr/bin/python3 /usr/bin/python \
g++=14.2.0-r4 \
git=2.47.2-r0 \
make=4.4.1-r2 \
python3=3.12.9-r0 \
\
&& apk add --no-cache \
icu-data-full=71.1-r2 \
nginx=1.22.0-r1 \
nodejs=16.16.0-r0 \
icu-data-full=74.2-r0 \
nginx=1.26.2-r4 \
nodejs=22.13.1-r0 \
yarn=1.22.22-r1 \
\
&& yarn global add \
modclean@3.0.0-beta.1 \
thelounge@4.3.1 \
"thelounge@${THE_LOUNGE_VERSION#v}" \
\
&& modclean \
--path /usr/local/share/.config/yarn/global \
8 changes: 3 additions & 5 deletions thelounge/build.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
build_from:
aarch64: ghcr.io/hassio-addons/base:12.2.1
amd64: ghcr.io/hassio-addons/base:12.2.1
armhf: ghcr.io/hassio-addons/base:12.2.1
armv7: ghcr.io/hassio-addons/base:12.2.1
i386: ghcr.io/hassio-addons/base:12.2.1
aarch64: ghcr.io/hassio-addons/base:17.2.1
amd64: ghcr.io/hassio-addons/base:17.2.1
armv7: ghcr.io/hassio-addons/base:17.2.1
codenotary:
base_image: codenotary@frenck.dev
signer: codenotary@frenck.dev
2 changes: 0 additions & 2 deletions thelounge/config.yaml
Original file line number Diff line number Diff line change
@@ -8,9 +8,7 @@ codenotary: codenotary@frenck.dev
arch:
- aarch64
- amd64
- armhf
- armv7
- i386
ingress: true
ingress_stream: true
panel_admin: false
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/command/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
# Home Assistant Community Add-on: The Lounge
# Configures NGINX for use with thelounge
1 change: 1 addition & 0 deletions thelounge/rootfs/etc/s6-overlay/s6-rc.d/init-nginx/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
oneshot
1 change: 1 addition & 0 deletions thelounge/rootfs/etc/s6-overlay/s6-rc.d/init-nginx/up
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-nginx/run
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/command/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
# Home Assistant Community Add-on: The Lounge
# This adds the default user and installs any requested themes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
oneshot
1 change: 1 addition & 0 deletions thelounge/rootfs/etc/s6-overlay/s6-rc.d/init-thelounge/up
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-thelounge/run
Empty file.
Empty file.
27 changes: 27 additions & 0 deletions thelounge/rootfs/etc/s6-overlay/s6-rc.d/nginx/finish
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/command/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
# Home Assistant Community Add-on: The Lounge
# Take down the S6 supervision tree when Nginx fails
# ==============================================================================
declare exit_code
readonly exit_code_container=$(</run/s6-linux-init-container-results/exitcode)
readonly exit_code_service="${1}"
readonly exit_code_signal="${2}"
readonly service="NGINX"

bashio::log.info \
"Service ${service} exited with code ${exit_code_service}" \
"(by signal ${exit_code_signal})"

if [[ "${exit_code_service}" -eq 256 ]]; then
if [[ "${exit_code_container}" -eq 0 ]]; then
echo $((128 + $exit_code_signal)) > /run/s6-linux-init-container-results/exitcode
fi
[[ "${exit_code_signal}" -eq 15 ]] && exec /run/s6/basedir/bin/halt
elif [[ "${exit_code_service}" -ne 0 ]]; then
if [[ "${exit_code_container}" -eq 0 ]]; then
echo "${exit_code_service}" > /run/s6-linux-init-container-results/exitcode
fi
exec /run/s6/basedir/bin/halt
fi
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/command/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
# Home Assistant Community Add-on: The Lounge
# Runs the Nginx daemon
1 change: 1 addition & 0 deletions thelounge/rootfs/etc/s6-overlay/s6-rc.d/nginx/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
longrun
Empty file.
27 changes: 27 additions & 0 deletions thelounge/rootfs/etc/s6-overlay/s6-rc.d/thelounge/finish
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/command/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
# Home Assistant Community Add-on: The Lounge
# Take down the S6 supervision tree when the server fails
# ==============================================================================
declare exit_code
readonly exit_code_container=$(</run/s6-linux-init-container-results/exitcode)
readonly exit_code_service="${1}"
readonly exit_code_signal="${2}"
readonly service="The Lounge"

bashio::log.info \
"Service ${service} exited with code ${exit_code_service}" \
"(by signal ${exit_code_signal})"

if [[ "${exit_code_service}" -eq 256 ]]; then
if [[ "${exit_code_container}" -eq 0 ]]; then
echo $((128 + $exit_code_signal)) > /run/s6-linux-init-container-results/exitcode
fi
[[ "${exit_code_signal}" -eq 15 ]] && exec /run/s6/basedir/bin/halt
elif [[ "${exit_code_service}" -ne 0 ]]; then
if [[ "${exit_code_container}" -eq 0 ]]; then
echo "${exit_code_service}" > /run/s6-linux-init-container-results/exitcode
fi
exec /run/s6/basedir/bin/halt
fi
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/command/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
# Home Assistant Community Add-on: The Lounge
# Runs The Lounge server
1 change: 1 addition & 0 deletions thelounge/rootfs/etc/s6-overlay/s6-rc.d/thelounge/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
longrun
Empty file.
Empty file.
Empty file.
Empty file.
11 changes: 0 additions & 11 deletions thelounge/rootfs/etc/services.d/nginx/finish

This file was deleted.

11 changes: 0 additions & 11 deletions thelounge/rootfs/etc/services.d/thelounge/finish

This file was deleted.