Compare commits
74 Commits
codex/use-
...
1669f63f21
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1669f63f21 | ||
|
|
7461665439 | ||
|
|
fdfe3070d2 | ||
|
|
f0f1251285 | ||
|
|
6de904a01f | ||
|
|
ae11760a96 | ||
|
|
307b26798e | ||
|
|
64cd59699f | ||
|
|
0c8f5239bf | ||
|
|
ab2f8b7221 | ||
|
|
bbd2f8cd31 | ||
|
|
64a07ec919 | ||
|
|
6cc5a6e20d | ||
|
|
3fb8545216 | ||
|
|
2a8eb5cbb9 | ||
|
|
40c8eaa80f | ||
|
|
1c6727a5ba | ||
|
|
33e6e568af | ||
|
|
f364dabdd1 | ||
|
|
7c1078ee1c | ||
|
|
9cfd7d2a08 | ||
|
|
96117bea2b | ||
|
|
eeb375cdc1 | ||
|
|
3a4f77651c | ||
|
|
1f04f9301b | ||
|
|
dfc8d9fc4d | ||
|
|
e77cc83bcd | ||
|
|
5ffae75c39 | ||
|
|
4a412b7346 | ||
|
|
5e7c047bd3 | ||
|
|
fedf7ee666 | ||
|
|
fca157990c | ||
|
|
94d73f8f76 | ||
|
|
ceae0d119d | ||
|
|
b407fb6fa3 | ||
|
|
0c11a1091f | ||
|
|
6c582f36ea | ||
|
|
afe5b92613 | ||
|
|
6e1c094895 | ||
|
|
f603687a93 | ||
|
|
c89d650e98 | ||
|
|
2b8b8f2f89 | ||
|
|
03a4177f69 | ||
|
|
a12a3c8259 | ||
|
|
1305dbfd18 | ||
|
|
ed25e3f850 | ||
|
|
6fd77bf6d8 | ||
|
|
88e9f79338 | ||
|
|
43e38aa53d | ||
|
|
ba0b35bd16 | ||
|
|
0e2ae97294 | ||
|
|
c83f67f19c | ||
|
|
aafde39560 | ||
|
|
358a77c161 | ||
|
|
27aadbee17 | ||
|
|
aa76b99160 | ||
|
|
7636632cb9 | ||
|
|
c76cf786a2 | ||
|
|
c228ab8483 | ||
|
|
9d9d65adcc | ||
|
|
c0c661eeeb | ||
|
|
2fd098e2d7 | ||
|
|
33cb52f76a | ||
|
|
7b83bbae3e | ||
|
|
6f1cb01b46 | ||
|
|
9a076663d7 | ||
|
|
8df18fd71f | ||
|
|
ec1785b06e | ||
|
|
a6f0b0c80b | ||
|
|
69efb6bccf | ||
|
|
eec17f8225 | ||
|
|
9f246feb94 | ||
|
|
9e6bf099a6 | ||
|
|
01be16c677 |
8
.github/stargazer_countries.csv
vendored
@@ -529,6 +529,7 @@ Romain7495,France
|
|||||||
RooomKL,
|
RooomKL,
|
||||||
Rosemajor,
|
Rosemajor,
|
||||||
Rosscoer,
|
Rosscoer,
|
||||||
|
RosutoHane,
|
||||||
Roth-Development,
|
Roth-Development,
|
||||||
RouNNdeL,Poland
|
RouNNdeL,Poland
|
||||||
RubenKelevra,Germany
|
RubenKelevra,Germany
|
||||||
@@ -1242,10 +1243,12 @@ glgghit,Italy
|
|||||||
gli-james-roland,
|
gli-james-roland,
|
||||||
glxzander,
|
glxzander,
|
||||||
gmariotti,Germany
|
gmariotti,Germany
|
||||||
|
gmeinerc,
|
||||||
gnusma,
|
gnusma,
|
||||||
goetzc,United States
|
goetzc,United States
|
||||||
goldendatahub,
|
goldendatahub,
|
||||||
goliat931,
|
goliat931,
|
||||||
|
golichwer,Poland
|
||||||
gonghailink,
|
gonghailink,
|
||||||
gooman69,
|
gooman69,
|
||||||
goooroooX,
|
goooroooX,
|
||||||
@@ -1273,6 +1276,7 @@ hAxxelS,
|
|||||||
ha48653,
|
ha48653,
|
||||||
habiwan,
|
habiwan,
|
||||||
habuild,
|
habuild,
|
||||||
|
hafstaf,
|
||||||
hank-droid,
|
hank-droid,
|
||||||
hankalf,
|
hankalf,
|
||||||
hans99,Sweden
|
hans99,Sweden
|
||||||
@@ -1385,6 +1389,7 @@ jfields87,
|
|||||||
jfroy,United States
|
jfroy,United States
|
||||||
jgoakley,United States
|
jgoakley,United States
|
||||||
jhhbe,
|
jhhbe,
|
||||||
|
jhron,
|
||||||
jiadongjiang,
|
jiadongjiang,
|
||||||
jimmyang1992,
|
jimmyang1992,
|
||||||
jine,Sweden
|
jine,Sweden
|
||||||
@@ -1631,6 +1636,7 @@ michaeljvirkus-commits,
|
|||||||
michaelkuty,Czechia
|
michaelkuty,Czechia
|
||||||
michaelomm,Australia
|
michaelomm,Australia
|
||||||
michalgabor,
|
michalgabor,
|
||||||
|
michalklabnik,
|
||||||
michelangelonz,
|
michelangelonz,
|
||||||
michele84,
|
michele84,
|
||||||
micsco,United Kingdom
|
micsco,United Kingdom
|
||||||
@@ -1697,6 +1703,7 @@ mytire,United States
|
|||||||
nacbooth,United Kingdom
|
nacbooth,United Kingdom
|
||||||
najdias,Portugal
|
najdias,Portugal
|
||||||
nalditopr,
|
nalditopr,
|
||||||
|
nana4rider,Japan
|
||||||
naor1,Israel
|
naor1,Israel
|
||||||
nate-marshall,
|
nate-marshall,
|
||||||
nduest,Germany
|
nduest,Germany
|
||||||
@@ -1787,6 +1794,7 @@ paszczaq,Poland
|
|||||||
patpadgett,United States
|
patpadgett,United States
|
||||||
patrickcarmichael,United States
|
patrickcarmichael,United States
|
||||||
patricklucescu,
|
patricklucescu,
|
||||||
|
paulcgt,South Africa
|
||||||
pavelekpl,
|
pavelekpl,
|
||||||
pax,
|
pax,
|
||||||
paxlo,
|
paxlo,
|
||||||
|
|||||||
|
BIN
.github/stargazer_map.png
vendored
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 62 KiB |
BIN
.github/stats.png
vendored
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 2.1 KiB |
BIN
.github/stats_addons.png
vendored
|
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 4.4 KiB |
14
.github/workflows/onpush_builder.yaml
vendored
@@ -115,7 +115,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
addon: ${{ fromJSON(needs.detect-changed-addons.outputs.changedAddons) }}
|
addon: ${{ fromJSON(needs.detect-changed-addons.outputs.changedAddons) }}
|
||||||
arch: ["aarch64", "amd64", "armv7"]
|
arch: ["aarch64", "amd64"]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- name: Resolve Symlinks (in repo)
|
- name: Resolve Symlinks (in repo)
|
||||||
@@ -169,17 +169,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Free disk space (runner)
|
|
||||||
uses: endersonmenezes/free-disk-space@v3
|
|
||||||
with:
|
|
||||||
remove_android: true
|
|
||||||
remove_dotnet: true
|
|
||||||
remove_haskell: true
|
|
||||||
remove_tool_cache: true
|
|
||||||
remove_swap: true
|
|
||||||
rm_cmd: "rmz"
|
|
||||||
rmz_version: "3.1.1"
|
|
||||||
- name: Build ${{ matrix.addon }} add-on (attempt 1)
|
- name: Build ${{ matrix.addon }} add-on (attempt 1)
|
||||||
id: builderstep1
|
id: builderstep1
|
||||||
if: steps.check.outputs.build_arch == 'true' && steps.dockerfile_check.outputs.has_dockerfile == 'true'
|
if: steps.check.outputs.build_arch == 'true' && steps.dockerfile_check.outputs.has_dockerfile == 'true'
|
||||||
|
|||||||
31
README.md
@@ -56,7 +56,7 @@ If you want to do add the repository manually, please follow the procedure highl
|
|||||||
|
|
||||||
### Number of addons
|
### Number of addons
|
||||||
|
|
||||||
- In the repository : 116
|
- In the repository : 118
|
||||||
- Installed : 76650
|
- Installed : 76650
|
||||||
|
|
||||||
### Top 3
|
### Top 3
|
||||||
@@ -253,6 +253,14 @@ If you want to do add the repository manually, please follow the procedure highl
|
|||||||
![aarch64][aarch64-badge]
|
![aarch64][aarch64-badge]
|
||||||
![amd64][amd64-badge]
|
![amd64][amd64-badge]
|
||||||
|
|
||||||
|
✓  [FileBrowser Quantum](filebrowser_quantum/) : FileBrowser Quantum provides a modern, responsive file manager with multi-source support, advanced authentication options, and realtime indexing for your Home Assistant files.
|
||||||
|
|
||||||
|
  
|
||||||
|

|
||||||
|
![aarch64][aarch64-badge]
|
||||||
|
![amd64][amd64-badge]
|
||||||
|
![ingress][ingress-badge]
|
||||||
|
|
||||||
✓  [Filebrowser (10195x)](filebrowser/) : filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files
|
✓  [Filebrowser (10195x)](filebrowser/) : filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files
|
||||||
|
|
||||||
  
|
  
|
||||||
@@ -728,6 +736,13 @@ If you want to do add the repository manually, please follow the procedure highl
|
|||||||
![aarch64][aarch64-badge]
|
![aarch64][aarch64-badge]
|
||||||
![amd64][amd64-badge]
|
![amd64][amd64-badge]
|
||||||
|
|
||||||
|
✓ [Social to Mealie](social_to_mealie/) : Import recipes from social media directly into Mealie
|
||||||
|
|
||||||
|
  
|
||||||
|

|
||||||
|
![aarch64][aarch64-badge]
|
||||||
|
![amd64][amd64-badge]
|
||||||
|
|
||||||
✓  [Sonarr](sonarr/) : Can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them
|
✓  [Sonarr](sonarr/) : Can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them
|
||||||
|
|
||||||
  
|
  
|
||||||
@@ -802,6 +817,13 @@ If you want to do add the repository manually, please follow the procedure highl
|
|||||||
![aarch64][aarch64-badge]
|
![aarch64][aarch64-badge]
|
||||||
![amd64][amd64-badge]
|
![amd64][amd64-badge]
|
||||||
|
|
||||||
|
✓ [Vaultwarden](bitwarden/) : Open source password management solution
|
||||||
|
|
||||||
|
  
|
||||||
|

|
||||||
|
![aarch64][aarch64-badge]
|
||||||
|
![amd64][amd64-badge]
|
||||||
|
|
||||||
✓  [Webtop KDE](webtop_kde/) : Full linux desktop environment accessible via any modern web browser
|
✓  [Webtop KDE](webtop_kde/) : Full linux desktop environment accessible via any modern web browser
|
||||||
|
|
||||||
  
|
  
|
||||||
@@ -893,13 +915,6 @@ If you want to do add the repository manually, please follow the procedure highl
|
|||||||
![aarch64][aarch64-badge]
|
![aarch64][aarch64-badge]
|
||||||
![amd64][amd64-badge]
|
![amd64][amd64-badge]
|
||||||
|
|
||||||
✓ [zzz_archived - Vaultwarden](zzz_archived_bitwarden/) : Deprecated - please use community version
|
|
||||||
|
|
||||||
  
|
|
||||||

|
|
||||||
![aarch64][aarch64-badge]
|
|
||||||
![amd64][amd64-badge]
|
|
||||||
|
|
||||||
✓ [zzz_archived : Code-server (VScode)](zzz_archived_code-server/) : Deprecated : Code-server is VS Code running on a remote server, accessible through the browser
|
✓ [zzz_archived : Code-server (VScode)](zzz_archived_code-server/) : Deprecated : Code-server is VS Code running on a remote server, accessible through the browser
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
baikal/stats.png
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
bazarr/stats.png
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 1.7 KiB |
@@ -1,3 +1,14 @@
|
|||||||
|
## 1.35.0-6 (28-12-2025)
|
||||||
|
- Minor bugs fixed
|
||||||
|
## 1.35.0-4 (28-12-2025)
|
||||||
|
- Minor bugs fixed
|
||||||
|
## 1.35.0-2 (28-12-2025)
|
||||||
|
- Minor bugs fixed
|
||||||
|
## description: Deprecated - please use community version 1.35.0 (28-12-2025)
|
||||||
|
- Minor bugs fixed
|
||||||
|
|
||||||
|
## 1.35.0 (28-12-2025)
|
||||||
|
- Update to latest version from dani-garcia/bitwarden_rs (changelog : https://github.com/dani-garcia/bitwarden_rs/releases)
|
||||||
- The Home Assistant project has deprecated support for the armv7, armhf and i386 architectures. Support wil be fully dropped in the upcoming Home Assistant 2025.12 release
|
- The Home Assistant project has deprecated support for the armv7, armhf and i386 architectures. Support wil be fully dropped in the upcoming Home Assistant 2025.12 release
|
||||||
|
|
||||||
- Added support for configuring extra environment variables via the `env_vars` add-on option alongside config.yaml. See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.
|
- Added support for configuring extra environment variables via the `env_vars` add-on option alongside config.yaml. See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.
|
||||||
168
bitwarden/Dockerfile
Normal file
@@ -0,0 +1,168 @@
|
|||||||
|
#============================#
|
||||||
|
# ALEXBELGIUM'S DOCKERFILE #
|
||||||
|
#============================#
|
||||||
|
# _.------.
|
||||||
|
# _.-` ('>.-`"""-.
|
||||||
|
# '.--'` _'` _ .--.)
|
||||||
|
# -' '-.-';` `
|
||||||
|
# ' - _.' ``'--.
|
||||||
|
# '---` .-'""`
|
||||||
|
# /`
|
||||||
|
#=== Home Assistant Addon ===#
|
||||||
|
|
||||||
|
#################
|
||||||
|
# 1 Build Image #
|
||||||
|
#################
|
||||||
|
|
||||||
|
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base:9.1.0
|
||||||
|
###############################################################################
|
||||||
|
# Get prebuild containers from Vaultwarden
|
||||||
|
###############################################################################
|
||||||
|
FROM "vaultwarden/server:latest" AS vaultwarden
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Build the actual add-on.
|
||||||
|
###############################################################################
|
||||||
|
# hadolint ignore=DL3006
|
||||||
|
FROM ${BUILD_FROM}
|
||||||
|
|
||||||
|
# Set shell
|
||||||
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
|
|
||||||
|
# Get the Bitwarden from official images
|
||||||
|
COPY --from=vaultwarden /vaultwarden /opt/vaultwarden
|
||||||
|
COPY --from=vaultwarden /web-vault /opt/web-vault
|
||||||
|
|
||||||
|
RUN \
|
||||||
|
apt-get update \
|
||||||
|
\
|
||||||
|
&& apt-get install -y --no-install-recommends \
|
||||||
|
libmariadb-dev-compat \
|
||||||
|
libpq5 \
|
||||||
|
nginx \
|
||||||
|
sqlite3 \
|
||||||
|
&& apt-get clean \
|
||||||
|
&& rm -f -r \
|
||||||
|
/etc/nginx \
|
||||||
|
\
|
||||||
|
&& mkdir -p /var/log/nginx \
|
||||||
|
&& touch /var/log/nginx/error.log
|
||||||
|
|
||||||
|
##################
|
||||||
|
# 2 Modify Image #
|
||||||
|
##################
|
||||||
|
|
||||||
|
# Set S6 wait time
|
||||||
|
ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
||||||
|
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
|
||||||
|
S6_SERVICES_GRACETIME=0
|
||||||
|
|
||||||
|
##################
|
||||||
|
# 3 Install apps #
|
||||||
|
##################
|
||||||
|
|
||||||
|
# Add rootfs
|
||||||
|
COPY rootfs/ /
|
||||||
|
|
||||||
|
RUN chmod +x /etc/s6-overlay/s6-rc.d/*/run
|
||||||
|
|
||||||
|
# Uses /bin for compatibility purposes
|
||||||
|
# hadolint ignore=DL4005
|
||||||
|
RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then ln -s /usr/bin/sh /bin/sh; fi && \
|
||||||
|
if [ ! -f /bin/bash ] && [ -f /usr/bin/bash ]; then ln -s /usr/bin/bash /bin/bash; fi
|
||||||
|
|
||||||
|
# Modules
|
||||||
|
ARG MODULES="00-banner.sh 01-custom_script.sh"
|
||||||
|
|
||||||
|
# Automatic modules download
|
||||||
|
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" "/ha_automodules.sh"
|
||||||
|
RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
|
||||||
|
|
||||||
|
# Manual apps
|
||||||
|
ENV PACKAGES=""
|
||||||
|
|
||||||
|
# Automatic apps & bashio
|
||||||
|
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_autoapps.sh" "/ha_autoapps.sh"
|
||||||
|
RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
|
|
||||||
|
################
|
||||||
|
# 4 Entrypoint #
|
||||||
|
################
|
||||||
|
|
||||||
|
# Add entrypoint
|
||||||
|
ENV S6_STAGE2_HOOK=/ha_entrypoint.sh
|
||||||
|
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh"
|
||||||
|
|
||||||
|
# Entrypoint modifications
|
||||||
|
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh"
|
||||||
|
RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
|
||||||
|
|
||||||
|
# Standalone bashio command
|
||||||
|
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"
|
||||||
|
RUN chmod 777 /.bashio-standalone.sh
|
||||||
|
|
||||||
|
#
|
||||||
|
#WORKDIR /
|
||||||
|
#ENTRYPOINT [ "/usr/bin/env" ]
|
||||||
|
#CMD [ "/ha_entrypoint.sh" ]
|
||||||
|
#SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
|
|
||||||
|
############
|
||||||
|
# 5 Labels #
|
||||||
|
############
|
||||||
|
|
||||||
|
ARG BUILD_ARCH
|
||||||
|
ARG BUILD_DATE
|
||||||
|
ARG BUILD_DESCRIPTION
|
||||||
|
ARG BUILD_NAME
|
||||||
|
ARG BUILD_REF
|
||||||
|
ARG BUILD_REPOSITORY
|
||||||
|
ARG BUILD_VERSION
|
||||||
|
ENV BUILD_VERSION="${BUILD_VERSION}"
|
||||||
|
LABEL \
|
||||||
|
io.hass.name="${BUILD_NAME}" \
|
||||||
|
io.hass.description="${BUILD_DESCRIPTION}" \
|
||||||
|
io.hass.arch="${BUILD_ARCH}" \
|
||||||
|
io.hass.type="addon" \
|
||||||
|
io.hass.version=${BUILD_VERSION} \
|
||||||
|
maintainer="alexbelgium (https://github.com/alexbelgium)" \
|
||||||
|
org.opencontainers.image.title="${BUILD_NAME}" \
|
||||||
|
org.opencontainers.image.description="${BUILD_DESCRIPTION}" \
|
||||||
|
org.opencontainers.image.vendor="Home Assistant Add-ons" \
|
||||||
|
org.opencontainers.image.authors="alexbelgium (https://github.com/alexbelgium)" \
|
||||||
|
org.opencontainers.image.licenses="MIT" \
|
||||||
|
org.opencontainers.image.url="https://github.com/alexbelgium" \
|
||||||
|
org.opencontainers.image.source="https://github.com/${BUILD_REPOSITORY}" \
|
||||||
|
org.opencontainers.image.documentation="https://github.com/${BUILD_REPOSITORY}/blob/main/README.md" \
|
||||||
|
org.opencontainers.image.created=${BUILD_DATE} \
|
||||||
|
org.opencontainers.image.revision=${BUILD_REF} \
|
||||||
|
org.opencontainers.image.version=${BUILD_VERSION}
|
||||||
|
|
||||||
|
#################
|
||||||
|
# 6 Healthcheck #
|
||||||
|
#################
|
||||||
|
|
||||||
|
# Avoid spamming logs
|
||||||
|
# hadolint ignore=SC2016
|
||||||
|
RUN \
|
||||||
|
# Handle Apache configuration
|
||||||
|
if [ -d /etc/apache2/sites-available ]; then \
|
||||||
|
for file in /etc/apache2/sites-*/*.conf; do \
|
||||||
|
sed -i '/<VirtualHost/a \ \n # Match requests with the custom User-Agent "HealthCheck" \n SetEnvIf User-Agent "HealthCheck" dontlog \n # Exclude matching requests from access logs \n CustomLog ${APACHE_LOG_DIR}/access.log combined env=!dontlog' "$file"; \
|
||||||
|
done; \
|
||||||
|
fi && \
|
||||||
|
\
|
||||||
|
# Handle Nginx configuration
|
||||||
|
if [ -f /etc/nginx/nginx.conf ]; then \
|
||||||
|
awk '/http \{/{print; print "map $http_user_agent $dontlog {\n default 0;\n \"~*HealthCheck\" 1;\n}\naccess_log /var/log/nginx/access.log combined if=$dontlog;"; next}1' /etc/nginx/nginx.conf > /etc/nginx/nginx.conf.new && \
|
||||||
|
mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
ENV HEALTH_PORT="80" \
|
||||||
|
HEALTH_URL=""
|
||||||
|
HEALTHCHECK \
|
||||||
|
--interval=5s \
|
||||||
|
--retries=5 \
|
||||||
|
--start-period=30s \
|
||||||
|
--timeout=25s \
|
||||||
|
CMD curl -A "HealthCheck: Docker/1.0" -s -f "http://127.0.0.1:${HEALTH_PORT}${HEALTH_URL}" &>/dev/null || exit 1
|
||||||
4
bitwarden/build.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
build_from:
|
||||||
|
aarch64: ghcr.io/hassio-addons/debian-base/aarch64:9.1.0
|
||||||
|
amd64: ghcr.io/hassio-addons/debian-base/amd64:9.1.0
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
arch:
|
arch:
|
||||||
- aarch64
|
- aarch64
|
||||||
- amd64
|
- amd64
|
||||||
description: Deprecated - please use community version
|
description: Open source password management solution
|
||||||
image: ghcr.io/alexbelgium/vaultwarden-{arch}
|
image: ghcr.io/alexbelgium/vaultwarden-{arch}
|
||||||
init: false
|
init: false
|
||||||
map:
|
map:
|
||||||
- ssl
|
- ssl
|
||||||
name: zzz_archived - Vaultwarden
|
name: Vaultwarden
|
||||||
options:
|
options:
|
||||||
env_vars: []
|
env_vars: []
|
||||||
certfile: fullchain.pem
|
certfile: fullchain.pem
|
||||||
@@ -26,8 +26,7 @@ schema:
|
|||||||
request_size_limit: int?
|
request_size_limit: int?
|
||||||
ssl: bool
|
ssl: bool
|
||||||
slug: bitwarden
|
slug: bitwarden
|
||||||
stage: deprecated
|
|
||||||
udev: true
|
udev: true
|
||||||
url: https://github.com/alexbelgium/hassio-addons/tree/master/bitwarden
|
url: https://github.com/alexbelgium/hassio-addons/tree/master/bitwarden
|
||||||
version: 1.34.3
|
version: 1.35.0-6
|
||||||
webui: "[PROTO:ssl]://[HOST]:[PORT:7277]"
|
webui: "[PROTO:ssl]://[HOST]:[PORT:7277]"
|
||||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
@@ -4,5 +4,3 @@ server_name $hostname;
|
|||||||
add_header X-Content-Type-Options nosniff;
|
add_header X-Content-Type-Options nosniff;
|
||||||
add_header X-XSS-Protection "1; mode=block";
|
add_header X-XSS-Protection "1; mode=block";
|
||||||
add_header X-Robots-Tag none;
|
add_header X-Robots-Tag none;
|
||||||
|
|
||||||
client_max_body_size %%max_body_size%%;
|
|
||||||
8
bitwarden/rootfs/etc/nginx/includes/ssl_params.conf
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
ssl_protocols TLSv1.2 TLSv1.3;
|
||||||
|
ssl_prefer_server_ciphers off;
|
||||||
|
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
|
||||||
|
ssl_session_timeout 10m;
|
||||||
|
ssl_session_cache shared:SSL:10m;
|
||||||
|
ssl_session_tickets off;
|
||||||
|
ssl_stapling on;
|
||||||
|
ssl_stapling_verify on;
|
||||||
3
bitwarden/rootfs/etc/nginx/includes/upstream.conf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
upstream backend {
|
||||||
|
server 127.0.0.1:80;
|
||||||
|
}
|
||||||
@@ -27,11 +27,7 @@ events {
|
|||||||
http {
|
http {
|
||||||
include /etc/nginx/includes/mime.types;
|
include /etc/nginx/includes/mime.types;
|
||||||
|
|
||||||
log_format homeassistant '[$time_local] $status '
|
access_log off;
|
||||||
'$http_x_forwarded_for($remote_addr) '
|
|
||||||
'$request ($http_user_agent)';
|
|
||||||
|
|
||||||
access_log /proc/1/fd/1 homeassistant;
|
|
||||||
client_max_body_size 4G;
|
client_max_body_size 4G;
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
gzip on;
|
gzip on;
|
||||||
@@ -12,12 +12,4 @@ server {
|
|||||||
proxy_pass http://backend;
|
proxy_pass http://backend;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /notifications/hub {
|
|
||||||
proxy_pass http://wsbackend;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /notifications/hub/negotiate {
|
|
||||||
proxy_pass http://backend;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -8,12 +8,4 @@ server {
|
|||||||
proxy_pass http://backend;
|
proxy_pass http://backend;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /notifications/hub {
|
|
||||||
proxy_pass http://wsbackend;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /notifications/hub/negotiate {
|
|
||||||
proxy_pass http://backend;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
14
zzz_archived_bitwarden/rootfs/etc/cont-init.d/nginx.sh → bitwarden/rootfs/etc/s6-overlay/s6-rc.d/init-nginx/run
Executable file → Normal file
@@ -1,13 +1,11 @@
|
|||||||
#!/command/with-contenv bashio
|
#!/command/with-contenv bashio
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
set -e
|
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Home Assistant Community Add-on: Bitwarden
|
# Home Assistant Community Add-on: Vaultwarden
|
||||||
# This file configures nginx
|
# This file configures NGINX
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
declare certfile
|
declare certfile
|
||||||
declare keyfile
|
declare keyfile
|
||||||
declare max_body_size
|
|
||||||
|
|
||||||
bashio::config.require.ssl
|
bashio::config.require.ssl
|
||||||
|
|
||||||
@@ -21,11 +19,3 @@ if bashio::config.true 'ssl'; then
|
|||||||
else
|
else
|
||||||
mv /etc/nginx/servers/direct.disabled /etc/nginx/servers/direct.conf
|
mv /etc/nginx/servers/direct.disabled /etc/nginx/servers/direct.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
max_body_size="10M"
|
|
||||||
# Increase body size to match config
|
|
||||||
if bashio::config.has_value 'request_size_limit'; then
|
|
||||||
max_body_size=$(bashio::config 'request_size_limit')
|
|
||||||
fi
|
|
||||||
sed -i "s/%%max_body_size%%/${max_body_size}/g" \
|
|
||||||
/etc/nginx/includes/server_params.conf
|
|
||||||
1
bitwarden/rootfs/etc/s6-overlay/s6-rc.d/init-nginx/type
Normal file
@@ -0,0 +1 @@
|
|||||||
|
oneshot
|
||||||
1
bitwarden/rootfs/etc/s6-overlay/s6-rc.d/init-nginx/up
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/etc/s6-overlay/s6-rc.d/init-nginx/run
|
||||||
26
bitwarden/rootfs/etc/s6-overlay/s6-rc.d/nginx/finish
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
#!/command/with-contenv bashio
|
||||||
|
# ==============================================================================
|
||||||
|
# Home Assistant Community Add-on: Vaultwarden
|
||||||
|
# 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
|
||||||
6
zzz_archived_bitwarden/rootfs/etc/services.d/nginx/run → bitwarden/rootfs/etc/s6-overlay/s6-rc.d/nginx/run
Executable file → Normal file
@@ -1,8 +1,6 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/command/with-contenv bashio
|
||||||
# shellcheck shell=bash
|
|
||||||
set -e
|
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Home Assistant Community Add-on: Bitwarden
|
# Home Assistant Community Add-on: Vaultwarden
|
||||||
# Runs the Nginx daemon
|
# Runs the Nginx daemon
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
bashio::net.wait_for 80
|
bashio::net.wait_for 80
|
||||||
1
bitwarden/rootfs/etc/s6-overlay/s6-rc.d/nginx/type
Normal file
@@ -0,0 +1 @@
|
|||||||
|
longrun
|
||||||
27
bitwarden/rootfs/etc/s6-overlay/s6-rc.d/vaultwarden/finish
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
#!/command/with-contenv bashio
|
||||||
|
# shellcheck shell=bash
|
||||||
|
# ==============================================================================
|
||||||
|
# Home Assistant Community Add-on: Vaultwarden
|
||||||
|
# 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="Vaultwarden"
|
||||||
|
|
||||||
|
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
|
||||||
15
zzz_archived_bitwarden/rootfs/etc/services.d/bitwarden/run → bitwarden/rootfs/etc/s6-overlay/s6-rc.d/vaultwarden/run
Executable file → Normal file
@@ -1,8 +1,7 @@
|
|||||||
#!/command/with-contenv bashio
|
#!/command/with-contenv bashio
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
set -e
|
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Home Assistant Community Add-on: Bitwarden
|
# Home Assistant Community Add-on: Vaultwarden
|
||||||
# Runs the Vaultwarden server
|
# Runs the Vaultwarden server
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
declare admin_token
|
declare admin_token
|
||||||
@@ -22,19 +21,19 @@ export ROCKET_SECRET_KEY="${secret_key}"
|
|||||||
# Find the matching log level
|
# Find the matching log level
|
||||||
if bashio::config.has_value 'log_level'; then
|
if bashio::config.has_value 'log_level'; then
|
||||||
case "$(bashio::string.lower "$(bashio::config 'log_level')")" in
|
case "$(bashio::string.lower "$(bashio::config 'log_level')")" in
|
||||||
all | trace)
|
all|trace)
|
||||||
log_level="trace"
|
log_level="trace"
|
||||||
;;
|
;;
|
||||||
debug)
|
debug)
|
||||||
log_level="debug"
|
log_level="debug"
|
||||||
;;
|
;;
|
||||||
info | notice)
|
info|notice)
|
||||||
log_level="info"
|
log_level="info"
|
||||||
;;
|
;;
|
||||||
warning)
|
warning)
|
||||||
log_level="warn"
|
log_level="warn"
|
||||||
;;
|
;;
|
||||||
error | fatal)
|
error|fatal)
|
||||||
log_level="error"
|
log_level="error"
|
||||||
;;
|
;;
|
||||||
off)
|
off)
|
||||||
@@ -46,7 +45,7 @@ if bashio::config.has_value 'log_level'; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Show admin token in the log, if config does not exist.
|
# Show admin token in the log, if config does not exist.
|
||||||
if ! bashio::fs.file_exists '/data/config.yaml'; then
|
if ! bashio::fs.file_exists '/data/config.json'; then
|
||||||
admin_token=$(openssl rand -base64 48)
|
admin_token=$(openssl rand -base64 48)
|
||||||
export ADMIN_TOKEN="${admin_token}"
|
export ADMIN_TOKEN="${admin_token}"
|
||||||
|
|
||||||
@@ -73,10 +72,6 @@ if bashio::config.has_value 'request_size_limit'; then
|
|||||||
export ROCKET_LIMITS="{json=${request_size_limit}}"
|
export ROCKET_LIMITS="{json=${request_size_limit}}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Always enable Websockets
|
|
||||||
export WEBSOCKET_ENABLED=true
|
|
||||||
export WEBSOCKET_PORT=8080
|
|
||||||
|
|
||||||
# Run the Bitwarden server
|
# Run the Bitwarden server
|
||||||
bashio::log.info 'Starting the Vaultwarden server...'
|
bashio::log.info 'Starting the Vaultwarden server...'
|
||||||
cd /opt || bashio::exit.nok
|
cd /opt || bashio::exit.nok
|
||||||
1
bitwarden/rootfs/etc/s6-overlay/s6-rc.d/vaultwarden/type
Normal file
@@ -0,0 +1 @@
|
|||||||
|
longrun
|
||||||
BIN
bitwarden/stats.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"last_update": "01-08-2025",
|
"last_update": "28-12-2025",
|
||||||
"paused": false,
|
"paused": false,
|
||||||
"repository": "alexbelgium/hassio-addons",
|
"repository": "alexbelgium/hassio-addons",
|
||||||
"slug": "bitwarden",
|
"slug": "bitwarden",
|
||||||
"source": "github",
|
"source": "github",
|
||||||
"upstream_repo": "dani-garcia/bitwarden_rs",
|
"upstream_repo": "dani-garcia/bitwarden_rs",
|
||||||
"upstream_version": "1.34.3"
|
"upstream_version": "1.35.0"
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
codex/stats.png
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 1.7 KiB |
BIN
emby/stats.png
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
ente/stats.png
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 1.4 KiB |
7
filebrowser_quantum/CHANGELOG.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
## 1.2.0 (28-12-2025)
|
||||||
|
- Update to latest version from gtsteffaniak/filebrowser (changelog : https://github.com/gtsteffaniak/filebrowser/releases)
|
||||||
|
# Changelog
|
||||||
|
|
||||||
|
## 1.1.0
|
||||||
|
- Initial FileBrowser Quantum add-on.
|
||||||
@@ -14,17 +14,9 @@
|
|||||||
# 1 Build Image #
|
# 1 Build Image #
|
||||||
#################
|
#################
|
||||||
|
|
||||||
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base/amd64:7.1.0
|
ARG BUILD_FROM
|
||||||
ARG BUILD_VERSION
|
ARG BUILD_VERSION
|
||||||
ARG BUILD_UPSTREAM="1.34.3"
|
|
||||||
FROM "vaultwarden/server:${BUILD_UPSTREAM}" as vaultwarden
|
|
||||||
FROM ${BUILD_FROM}
|
FROM ${BUILD_FROM}
|
||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
||||||
|
|
||||||
# Get the Bitwarden from official images
|
|
||||||
COPY --from=vaultwarden /vaultwarden /opt/vaultwarden
|
|
||||||
#COPY --from=vaultwarden /Rocket.toml /opt/Rocket.toml
|
|
||||||
COPY --from=vaultwarden /web-vault /opt/web-vault
|
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# 2 Modify Image #
|
# 2 Modify Image #
|
||||||
@@ -35,6 +27,8 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
|||||||
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
|
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
|
||||||
S6_SERVICES_GRACETIME=0
|
S6_SERVICES_GRACETIME=0
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# 3 Install apps #
|
# 3 Install apps #
|
||||||
##################
|
##################
|
||||||
@@ -48,17 +42,16 @@ RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then ln -s /usr/bin/sh /bin/sh; f
|
|||||||
if [ ! -f /bin/bash ] && [ -f /usr/bin/bash ]; then ln -s /usr/bin/bash /bin/bash; fi
|
if [ ! -f /bin/bash ] && [ -f /usr/bin/bash ]; then ln -s /usr/bin/bash /bin/bash; fi
|
||||||
|
|
||||||
# Modules
|
# Modules
|
||||||
ARG MODULES="00-banner.sh 01-custom_script.sh 00-deprecated.sh"
|
ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh"
|
||||||
|
|
||||||
# Automatic modules download
|
# Automatic modules download
|
||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" "/ha_automodules.sh"
|
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" "/ha_automodules.sh"
|
||||||
RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
|
RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
|
||||||
|
|
||||||
# Manual apps
|
# Manual apps
|
||||||
ENV PACKAGES="libmariadb-dev-compat \
|
ENV PACKAGES="bind-tools \
|
||||||
libpq5 \
|
|
||||||
nginx \
|
nginx \
|
||||||
sqlite3"
|
python3"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_autoapps.sh" "/ha_autoapps.sh"
|
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_autoapps.sh" "/ha_autoapps.sh"
|
||||||
@@ -69,7 +62,7 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.
|
|||||||
################
|
################
|
||||||
|
|
||||||
# Add entrypoint
|
# Add entrypoint
|
||||||
ENV S6_STAGE2_HOOK=/ha_entrypoint.sh
|
# ENV S6_STAGE2_HOOK=/ha_entrypoint.sh
|
||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh"
|
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh"
|
||||||
|
|
||||||
# Entrypoint modifications
|
# Entrypoint modifications
|
||||||
@@ -80,11 +73,13 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.
|
|||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"
|
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"
|
||||||
RUN chmod 777 /.bashio-standalone.sh
|
RUN chmod 777 /.bashio-standalone.sh
|
||||||
|
|
||||||
#
|
RUN sed -i "s|/command/with-contenv|/usr/bin/env|g" "/ha_entrypoint.sh"
|
||||||
#WORKDIR /
|
|
||||||
#ENTRYPOINT [ "/usr/bin/env" ]
|
VOLUME [ "/data" ]
|
||||||
#CMD [ "/ha_entrypoint.sh" ]
|
WORKDIR /
|
||||||
#SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
||||||
|
ENTRYPOINT [ "/usr/bin/env" ]
|
||||||
|
CMD [ "/ha_entrypoint.sh" ]
|
||||||
|
|
||||||
############
|
############
|
||||||
# 5 Labels #
|
# 5 Labels #
|
||||||
@@ -137,11 +132,11 @@ RUN \
|
|||||||
mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \
|
mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ENV HEALTH_PORT="80" \
|
ENV HEALTH_PORT="8080" \
|
||||||
HEALTH_URL=""
|
HEALTH_URL=""
|
||||||
HEALTHCHECK \
|
HEALTHCHECK \
|
||||||
--interval=5s \
|
--interval=5s \
|
||||||
--retries=5 \
|
--retries=5 \
|
||||||
--start-period=30s \
|
--start-period=30s \
|
||||||
--timeout=25s \
|
--timeout=25s \
|
||||||
CMD curl -A "HealthCheck: Docker/1.0" -s -f "http://127.0.0.1:${HEALTH_PORT}${HEALTH_URL}" &>/dev/null || exit 1
|
CMD curl -A "HealthCheck: Docker/1.0" -s -f "http://127.0.0.1:${HEALTH_PORT}${HEALTH_URL}" &>/dev/null || curl -k --fail "https://127.0.0.1:${HEALTH_PORT}${HEALTH_URL}" &>/dev/null || exit 1
|
||||||
101
filebrowser_quantum/README.md
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
# Home assistant add-on: FileBrowser Quantum
|
||||||
|
|
||||||
|
|
||||||
|
I maintain this and other Home Assistant add-ons in my free time: keeping up with upstream changes, HA changes, and testing on real hardware takes a lot of time (and some money). I use around 5-10 of my >110 addons so regularly I install test machines (and purchase some test services such as vpn) that I don't use myself to troubleshoot and improve the addons
|
||||||
|
|
||||||
|
If this add-on saves you time or makes your setup easier, I would be very grateful for your support!
|
||||||
|
|
||||||
|
[![Buy me a coffee][donation-badge]](https://www.buymeacoffee.com/alexbelgium)
|
||||||
|
[![Donate via PayPal][paypal-badge]](https://www.paypal.com/donate/?hosted_button_id=DZFULJZTP3UQA)
|
||||||
|
|
||||||
|
## Addon informations
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
[](https://www.codacy.com/gh/alexbelgium/hassio-addons/dashboard?utm_source=github.com&utm_medium=referral&utm_content=alexbelgium/hassio-addons&utm_campaign=Badge_Grade)
|
||||||
|
[](https://github.com/alexbelgium/hassio-addons/actions/workflows/weekly-supelinter.yaml)
|
||||||
|
[](https://github.com/alexbelgium/hassio-addons/actions/workflows/onpush_builder.yaml)
|
||||||
|
|
||||||
|
[donation-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee-%23d32f2f?logo=buy-me-a-coffee&style=flat&logoColor=white
|
||||||
|
[paypal-badge]: https://img.shields.io/badge/Donate%20via%20PayPal-0070BA?logo=paypal&style=flat&logoColor=white
|
||||||
|
|
||||||
|
_Thanks to everyone having starred my repo! To star it click on the image below, then it will be on top right. Thanks!_
|
||||||
|
|
||||||
|
[](https://github.com/alexbelgium/hassio-addons/stargazers)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## About
|
||||||
|
|
||||||
|
FileBrowser Quantum is a modern, responsive, multi-source file manager with realtime indexing, advanced sharing, and expanded authentication options (password, proxy, OIDC, or no-auth). It is a major fork of the original Filebrowser project, designed for faster browsing and richer previews.
|
||||||
|
|
||||||
|
This addon is based on the [docker image](https://hub.docker.com/r/gtstef/filebrowser) from the FileBrowser Quantum project.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
The installation of this add-on is pretty straightforward and not different in
|
||||||
|
comparison to installing any other Home Assistant add-on.
|
||||||
|
|
||||||
|
1. [Add my Home Assistant add-ons repository][repository] to your Home Assistant instance.
|
||||||
|
1. Install this add-on.
|
||||||
|
1. Click the `Save` button to store your configuration.
|
||||||
|
1. Start the add-on.
|
||||||
|
1. Check the logs of the add-on to see if everything went well.
|
||||||
|
1. Access the web UI through the sidebar or at `<your-ip>:8071`.
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
The web UI can be found at `<your-ip>:8071` or through the Home Assistant sidebar when using Ingress.
|
||||||
|
|
||||||
|
**Default credentials:**
|
||||||
|
- Username: `admin`
|
||||||
|
- Password: `admin`
|
||||||
|
|
||||||
|
**Important:** Change the default credentials immediately after first login for security.
|
||||||
|
|
||||||
|
### Options
|
||||||
|
|
||||||
|
| Option | Type | Default | Description |
|
||||||
|
|--------|------|---------|-------------|
|
||||||
|
| `auth_method` | list | `password` | Authentication method (`password`, `noauth`, `proxy`, `oidc`) |
|
||||||
|
| `localdisks` | str | _(optional)_ | Local drives to mount (e.g., `sda1,sdb1,MYNAS`) |
|
||||||
|
| `networkdisks` | str | _(optional)_ | SMB shares to mount (e.g., `//SERVER/SHARE`) |
|
||||||
|
| `cifsusername` | str | _(optional)_ | SMB username for network shares |
|
||||||
|
| `cifspassword` | str | _(optional)_ | SMB password for network shares |
|
||||||
|
| `cifsdomain` | str | _(optional)_ | SMB domain for network shares |
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
1. Start the add-on and wait for it to initialize.
|
||||||
|
1. Access the web interface through the Home Assistant sidebar or at `<your-ip>:8071`.
|
||||||
|
1. Log in using the default credentials:
|
||||||
|
- Username: `admin`
|
||||||
|
- Password: `admin`
|
||||||
|
1. **Important:** Immediately change the default password by clicking on "Settings" > "User Management".
|
||||||
|
1. Configure additional sources and authentication settings through the add-on options or the web interface.
|
||||||
|
|
||||||
|
### Mounting Drives
|
||||||
|
|
||||||
|
This addon supports mounting both local drives and remote SMB shares:
|
||||||
|
|
||||||
|
- **Local drives**: See [Mounting Local Drives in Addons](https://github.com/alexbelgium/hassio-addons/wiki/Mounting-Local-Drives-in-Addons)
|
||||||
|
- **Remote shares**: See [Mounting Remote Shares in Addons](https://github.com/alexbelgium/hassio-addons/wiki/Mounting-remote-shares-in-Addons)
|
||||||
|
|
||||||
|
### Custom Scripts and Environment Variables
|
||||||
|
|
||||||
|
This addon supports custom scripts and environment variables through the `addon_config` mapping:
|
||||||
|
|
||||||
|
- **Custom scripts**: See [Running Custom Scripts in Addons](https://github.com/alexbelgium/hassio-addons/wiki/Running-custom-scripts-in-Addons)
|
||||||
|
- **env_vars option**: Use the add-on `env_vars` option to pass extra environment variables (uppercase or lowercase names). See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.
|
||||||
|
|
||||||
|
## Support
|
||||||
|
|
||||||
|
Create an issue on GitHub, or ask on the [Home Assistant Community thread](https://community.home-assistant.io/t/home-assistant-addon-filebrowser/282108/3).
|
||||||
|
|
||||||
|
[repository]: https://github.com/alexbelgium/hassio-addons
|
||||||
|
[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
|
||||||
|
[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
|
||||||
|
[armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg
|
||||||
|
|
||||||
66
filebrowser_quantum/apparmor.txt
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
#include <tunables/global>
|
||||||
|
|
||||||
|
profile db21ed7f_qbittorrent flags=(attach_disconnected,mediate_deleted) {
|
||||||
|
#include <abstractions/base>
|
||||||
|
|
||||||
|
capability,
|
||||||
|
file,
|
||||||
|
signal,
|
||||||
|
mount,
|
||||||
|
umount,
|
||||||
|
remount,
|
||||||
|
network udp,
|
||||||
|
network tcp,
|
||||||
|
network dgram,
|
||||||
|
network stream,
|
||||||
|
network inet,
|
||||||
|
network inet6,
|
||||||
|
network netlink raw,
|
||||||
|
network unix dgram,
|
||||||
|
|
||||||
|
capability setgid,
|
||||||
|
capability setuid,
|
||||||
|
capability sys_admin,
|
||||||
|
capability dac_read_search,
|
||||||
|
# capability dac_override,
|
||||||
|
# capability sys_rawio,
|
||||||
|
|
||||||
|
# S6-Overlay
|
||||||
|
/init ix,
|
||||||
|
/run/{s6,s6-rc*,service}/** ix,
|
||||||
|
/package/** ix,
|
||||||
|
/command/** ix,
|
||||||
|
/run/{,**} rwk,
|
||||||
|
/dev/tty rw,
|
||||||
|
/bin/** ix,
|
||||||
|
/usr/bin/** ix,
|
||||||
|
/usr/lib/bashio/** ix,
|
||||||
|
/etc/s6/** rix,
|
||||||
|
/run/s6/** rix,
|
||||||
|
/etc/services.d/** rwix,
|
||||||
|
/etc/cont-init.d/** rwix,
|
||||||
|
/etc/cont-finish.d/** rwix,
|
||||||
|
/init rix,
|
||||||
|
/var/run/** mrwkl,
|
||||||
|
/var/run/ mrwkl,
|
||||||
|
/dev/i2c-1 mrwkl,
|
||||||
|
# Files required
|
||||||
|
/dev/fuse mrwkl,
|
||||||
|
/dev/sda1 mrwkl,
|
||||||
|
/dev/sdb1 mrwkl,
|
||||||
|
/dev/nvme0 mrwkl,
|
||||||
|
/dev/nvme1 mrwkl,
|
||||||
|
/dev/mmcblk0p1 mrwkl,
|
||||||
|
/dev/* mrwkl,
|
||||||
|
/tmp/** mrkwl,
|
||||||
|
|
||||||
|
# Data access
|
||||||
|
/data/** rw,
|
||||||
|
|
||||||
|
# suppress ptrace denials when using 'docker ps' or using 'ps' inside a container
|
||||||
|
ptrace (trace,read) peer=docker-default,
|
||||||
|
|
||||||
|
# docker daemon confinement requires explict allow rule for signal
|
||||||
|
signal (receive) set=(kill,term) peer=/usr/bin/docker,
|
||||||
|
|
||||||
|
}
|
||||||
6
filebrowser_quantum/build.json
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"build_from": {
|
||||||
|
"aarch64": "gtstef/filebrowser:latest",
|
||||||
|
"amd64": "gtstef/filebrowser:latest"
|
||||||
|
}
|
||||||
|
}
|
||||||
113
filebrowser_quantum/config.yaml
Normal file
@@ -0,0 +1,113 @@
|
|||||||
|
arch:
|
||||||
|
- aarch64
|
||||||
|
- amd64
|
||||||
|
description:
|
||||||
|
FileBrowser Quantum provides a modern, responsive file manager with multi-source
|
||||||
|
support, advanced authentication options, and realtime indexing for your Home
|
||||||
|
Assistant files.
|
||||||
|
devices:
|
||||||
|
- /dev/dri
|
||||||
|
- /dev/dri/card0
|
||||||
|
- /dev/dri/card1
|
||||||
|
- /dev/dri/renderD128
|
||||||
|
- /dev/vchiq
|
||||||
|
- /dev/video10
|
||||||
|
- /dev/video11
|
||||||
|
- /dev/video12
|
||||||
|
- /dev/video13
|
||||||
|
- /dev/video14
|
||||||
|
- /dev/video15
|
||||||
|
- /dev/video16
|
||||||
|
- /dev/ttyUSB0
|
||||||
|
- /dev/sda
|
||||||
|
- /dev/sdb
|
||||||
|
- /dev/sdc
|
||||||
|
- /dev/sdd
|
||||||
|
- /dev/sde
|
||||||
|
- /dev/sdf
|
||||||
|
- /dev/sdg
|
||||||
|
- /dev/nvme
|
||||||
|
- /dev/nvme0
|
||||||
|
- /dev/nvme0n1
|
||||||
|
- /dev/nvme0n1p1
|
||||||
|
- /dev/nvme0n1p2
|
||||||
|
- /dev/nvme0n1p3
|
||||||
|
- /dev/nvme1n1
|
||||||
|
- /dev/nvme1n1p1
|
||||||
|
- /dev/nvme1n1p2
|
||||||
|
- /dev/nvme1n1p3
|
||||||
|
- /dev/nvme2n1
|
||||||
|
- /dev/nvme2n1p1
|
||||||
|
- /dev/nvme2n1p2
|
||||||
|
- /dev/nvme2n3p3
|
||||||
|
- /dev/mmcblk
|
||||||
|
- /dev/fuse
|
||||||
|
- /dev/sda1
|
||||||
|
- /dev/sdb1
|
||||||
|
- /dev/sdc1
|
||||||
|
- /dev/sdd1
|
||||||
|
- /dev/sde1
|
||||||
|
- /dev/sdf1
|
||||||
|
- /dev/sdg1
|
||||||
|
- /dev/sda2
|
||||||
|
- /dev/sdb2
|
||||||
|
- /dev/sdc2
|
||||||
|
- /dev/sdd2
|
||||||
|
- /dev/sde2
|
||||||
|
- /dev/sdf2
|
||||||
|
- /dev/sdg2
|
||||||
|
- /dev/sda3
|
||||||
|
- /dev/sdb3
|
||||||
|
- /dev/sda4
|
||||||
|
- /dev/sdb4
|
||||||
|
- /dev/sda5
|
||||||
|
- /dev/sda6
|
||||||
|
- /dev/sda7
|
||||||
|
- /dev/sda8
|
||||||
|
- /dev/nvme0
|
||||||
|
- /dev/nvme1
|
||||||
|
- /dev/nvme2
|
||||||
|
- /dev/md0
|
||||||
|
- /dev/md1
|
||||||
|
- /dev/md2
|
||||||
|
- /dev/md3
|
||||||
|
environment:
|
||||||
|
FB_BASEURL: /filebrowser_quantum
|
||||||
|
PGID: "0"
|
||||||
|
PUID: "0"
|
||||||
|
image: ghcr.io/alexbelgium/filebrowser_quantum-{arch}
|
||||||
|
ingress: true
|
||||||
|
ingress_port: 8071
|
||||||
|
ingress_stream: true
|
||||||
|
map:
|
||||||
|
- addon_config:rw
|
||||||
|
- media:rw
|
||||||
|
- all_addon_configs:rw
|
||||||
|
- homeassistant_config:rw
|
||||||
|
- addons:rw
|
||||||
|
- backup:rw
|
||||||
|
- share:rw
|
||||||
|
- ssl:rw
|
||||||
|
name: FileBrowser Quantum
|
||||||
|
options:
|
||||||
|
env_vars: []
|
||||||
|
auth_method: noauth
|
||||||
|
panel_admin: false
|
||||||
|
panel_icon: mdi:file-search
|
||||||
|
privileged:
|
||||||
|
- SYS_ADMIN
|
||||||
|
- DAC_READ_SEARCH
|
||||||
|
schema:
|
||||||
|
env_vars:
|
||||||
|
- name: match(^[A-Za-z0-9_]+$)
|
||||||
|
value: str?
|
||||||
|
auth_method: list(password|noauth|proxy|oidc)
|
||||||
|
cifsdomain: str?
|
||||||
|
cifspassword: str?
|
||||||
|
cifsusername: str?
|
||||||
|
localdisks: str?
|
||||||
|
networkdisks: str?
|
||||||
|
slug: filebrowser_quantum
|
||||||
|
udev: true
|
||||||
|
url: https://github.com/alexbelgium/hassio-addons
|
||||||
|
version: "1.2.0"
|
||||||
BIN
filebrowser_quantum/icon.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
filebrowser_quantum/logo.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
42
filebrowser_quantum/rootfs/etc/cont-init.d/20-folders.sh
Executable file
@@ -0,0 +1,42 @@
|
|||||||
|
#!/usr/bin/with-contenv bashio
|
||||||
|
# shellcheck shell=bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
####################
|
||||||
|
# Migrate database #
|
||||||
|
####################
|
||||||
|
|
||||||
|
if [ -f /homeassistant/addons_config/filebrowser_quantum/filebrowser_quantum.db ]; then
|
||||||
|
echo "Moving database to new location /config"
|
||||||
|
cp -rnf /homeassistant/addons_config/filebrowser_quantum/* /config/
|
||||||
|
rm -r /homeassistant/addons_config/filebrowser_quantum
|
||||||
|
fi
|
||||||
|
|
||||||
|
######################
|
||||||
|
# Link addon folders #
|
||||||
|
######################
|
||||||
|
|
||||||
|
# Clean symlinks
|
||||||
|
find /config -maxdepth 1 -type l -delete
|
||||||
|
if [ -d /homeassistant/addons_config ]; then
|
||||||
|
find /homeassistant/addons_config -maxdepth 1 -type l -delete
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove erroneous folders
|
||||||
|
if [ -d /homeassistant ]; then
|
||||||
|
if [ -d /config/addons_config ]; then
|
||||||
|
rm -r /config/addons_config
|
||||||
|
fi
|
||||||
|
if [ -d /config/addons_autoscripts ]; then
|
||||||
|
rm -r /config/addons_autoscripts
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Create symlinks with legacy folders
|
||||||
|
if [ -d /homeassistant/addons_config ]; then
|
||||||
|
ln -s /homeassistant/addons_config /config
|
||||||
|
find /addon_configs/ -maxdepth 1 -mindepth 1 -type d -not -name "*filebrowser_quantum*" -exec ln -s {} /config/addons_config/ \;
|
||||||
|
fi
|
||||||
|
if [ -d /homeassistant/addons_autoscripts ]; then
|
||||||
|
ln -s /homeassistant/addons_autoscripts /config
|
||||||
|
fi
|
||||||
241
filebrowser_quantum/rootfs/etc/cont-init.d/99-run.sh
Executable file
@@ -0,0 +1,241 @@
|
|||||||
|
#!/usr/bin/env bashio
|
||||||
|
# shellcheck shell=bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
############
|
||||||
|
# TIMEZONE #
|
||||||
|
############
|
||||||
|
|
||||||
|
if bashio::config.has_value 'TZ'; then
|
||||||
|
TIMEZONE=$(bashio::config 'TZ')
|
||||||
|
bashio::log.info "Setting timezone to $TIMEZONE"
|
||||||
|
if [ -f /usr/share/zoneinfo/"$TIMEZONE" ]; then
|
||||||
|
ln -snf /usr/share/zoneinfo/"$TIMEZONE" /etc/localtime
|
||||||
|
echo "$TIMEZONE" > /etc/timezone
|
||||||
|
else
|
||||||
|
bashio::log.fatal "$TIMEZONE not found, are you sure it is a valid timezone?"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
###################
|
||||||
|
# SSL CONFIG v1.0 #
|
||||||
|
###################
|
||||||
|
|
||||||
|
bashio::config.require.ssl
|
||||||
|
if bashio::config.true 'ssl'; then
|
||||||
|
bashio::log.info "ssl enabled. If webui don't work, disable ssl or check your certificate paths"
|
||||||
|
#set variables
|
||||||
|
CERTFILE="/ssl/$(bashio::config 'certfile')"
|
||||||
|
KEYFILE="/ssl/$(bashio::config 'keyfile')"
|
||||||
|
else
|
||||||
|
CERTFILE=""
|
||||||
|
KEYFILE=""
|
||||||
|
fi
|
||||||
|
export CERTFILE KEYFILE
|
||||||
|
|
||||||
|
#################
|
||||||
|
# NGINX SETTING #
|
||||||
|
#################
|
||||||
|
|
||||||
|
#declare port
|
||||||
|
#declare certfile
|
||||||
|
declare ingress_interface
|
||||||
|
declare ingress_port
|
||||||
|
#declare keyfile
|
||||||
|
|
||||||
|
FB_BASEURL=$(bashio::addon.ingress_entry)
|
||||||
|
export FB_BASEURL
|
||||||
|
|
||||||
|
declare ADDON_PROTOCOL=http
|
||||||
|
# Generate Ingress configuration
|
||||||
|
if bashio::config.true 'ssl'; then
|
||||||
|
ADDON_PROTOCOL=https
|
||||||
|
fi
|
||||||
|
|
||||||
|
#port=$(bashio::addon.port 80)
|
||||||
|
ingress_port=$(bashio::addon.ingress_port)
|
||||||
|
ingress_interface=$(bashio::addon.ip_address)
|
||||||
|
sed -i "s|%%protocol%%|${ADDON_PROTOCOL}|g" /etc/nginx/servers/ingress.conf
|
||||||
|
sed -i "s|%%port%%|${ingress_port}|g" /etc/nginx/servers/ingress.conf
|
||||||
|
sed -i "s|%%interface%%|${ingress_interface}|g" /etc/nginx/servers/ingress.conf
|
||||||
|
sed -i "s|%%subpath%%|${FB_BASEURL}/|g" /etc/nginx/servers/ingress.conf
|
||||||
|
mkdir -p /var/log/nginx && touch /var/log/nginx/error.log
|
||||||
|
|
||||||
|
############################
|
||||||
|
# FILEBROWSER CONFIGURATION #
|
||||||
|
############################
|
||||||
|
|
||||||
|
CONFIG_PATH="/config/filebrowser_quantum.yaml"
|
||||||
|
mkdir -p /config /cache
|
||||||
|
|
||||||
|
export FILEBROWSER_CONFIG="${CONFIG_PATH}"
|
||||||
|
|
||||||
|
python3 - <<'PY'
|
||||||
|
import json
|
||||||
|
import os
|
||||||
|
|
||||||
|
options_path = "/data/options.json"
|
||||||
|
config_path = os.environ["FILEBROWSER_CONFIG"]
|
||||||
|
|
||||||
|
with open(options_path, "r", encoding="utf-8") as f:
|
||||||
|
options = json.load(f)
|
||||||
|
|
||||||
|
base_url = options.get("base_url") or os.environ.get("FB_BASEURL") or "/"
|
||||||
|
|
||||||
|
def bool_or_none(value):
|
||||||
|
return value if isinstance(value, bool) else None
|
||||||
|
|
||||||
|
sources = []
|
||||||
|
for source in options.get("sources") or [{"path": "/", "name": "Root", "default_enabled": True}]:
|
||||||
|
entry = {"path": source.get("path", "/")}
|
||||||
|
if source.get("name"):
|
||||||
|
entry["name"] = source["name"]
|
||||||
|
|
||||||
|
source_config = {}
|
||||||
|
config_mappings = {
|
||||||
|
"default_enabled": "defaultEnabled",
|
||||||
|
"default_user_scope": "defaultUserScope",
|
||||||
|
"create_user_dir": "createUserDir",
|
||||||
|
"disable_indexing": "disableIndexing",
|
||||||
|
"deny_by_default": "denyByDefault",
|
||||||
|
"private": "private",
|
||||||
|
"indexing_interval_minutes": "indexingIntervalMinutes",
|
||||||
|
}
|
||||||
|
for option_key, config_key in config_mappings.items():
|
||||||
|
if option_key in source and source[option_key] not in (None, ""):
|
||||||
|
value = source[option_key]
|
||||||
|
if option_key == "indexing_interval_minutes" and not value:
|
||||||
|
continue
|
||||||
|
source_config[config_key] = value
|
||||||
|
|
||||||
|
conditionals = {}
|
||||||
|
if "ignore_hidden" in source:
|
||||||
|
value = bool_or_none(source.get("ignore_hidden"))
|
||||||
|
if value is not None:
|
||||||
|
conditionals["ignoreHidden"] = value
|
||||||
|
if "ignore_zero_size_folders" in source:
|
||||||
|
value = bool_or_none(source.get("ignore_zero_size_folders"))
|
||||||
|
if value is not None:
|
||||||
|
conditionals["ignoreZeroSizeFolders"] = value
|
||||||
|
if conditionals:
|
||||||
|
source_config["conditionals"] = conditionals
|
||||||
|
|
||||||
|
if source_config:
|
||||||
|
entry["config"] = source_config
|
||||||
|
sources.append(entry)
|
||||||
|
|
||||||
|
server = {
|
||||||
|
"port": 8080,
|
||||||
|
"listen": "0.0.0.0",
|
||||||
|
"baseURL": base_url,
|
||||||
|
"logging": [
|
||||||
|
{
|
||||||
|
"levels": options.get("log_levels", "info|warning|error"),
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"database": "/config/filebrowser_quantum.db",
|
||||||
|
"cacheDir": "/cache",
|
||||||
|
"cacheDirCleanup": options.get("cache_dir_cleanup", True),
|
||||||
|
"disablePreviews": options.get("disable_previews", False),
|
||||||
|
"disablePreviewResize": options.get("disable_preview_resize", False),
|
||||||
|
"disableTypeDetectionByHeader": options.get("disable_type_detection_by_header", False),
|
||||||
|
"disableUpdateCheck": options.get("disable_update_check", False),
|
||||||
|
"sources": sources,
|
||||||
|
}
|
||||||
|
|
||||||
|
if options.get("external_url"):
|
||||||
|
server["externalUrl"] = options["external_url"]
|
||||||
|
if options.get("internal_url"):
|
||||||
|
server["internalUrl"] = options["internal_url"]
|
||||||
|
if options.get("max_archive_size_gb"):
|
||||||
|
server["maxArchiveSize"] = options["max_archive_size_gb"]
|
||||||
|
|
||||||
|
certfile = os.environ.get("CERTFILE")
|
||||||
|
keyfile = os.environ.get("KEYFILE")
|
||||||
|
if certfile and keyfile:
|
||||||
|
server["tlsCert"] = certfile
|
||||||
|
server["tlsKey"] = keyfile
|
||||||
|
|
||||||
|
auth_method = options.get("auth_method", "password")
|
||||||
|
|
||||||
|
password_config = {
|
||||||
|
"enabled": auth_method == "password",
|
||||||
|
"minLength": options.get("password_min_length", 5),
|
||||||
|
"signup": options.get("password_signup", False),
|
||||||
|
"enforcedOtp": options.get("password_enforced_otp", False),
|
||||||
|
}
|
||||||
|
|
||||||
|
proxy_config = {
|
||||||
|
"enabled": auth_method == "proxy",
|
||||||
|
}
|
||||||
|
if options.get("proxy_auth_header"):
|
||||||
|
proxy_config["header"] = options["proxy_auth_header"]
|
||||||
|
proxy_config["createUser"] = options.get("proxy_auth_create_user", False)
|
||||||
|
if options.get("proxy_auth_logout_redirect_url"):
|
||||||
|
proxy_config["logoutRedirectUrl"] = options["proxy_auth_logout_redirect_url"]
|
||||||
|
|
||||||
|
oidc_config = {
|
||||||
|
"enabled": auth_method == "oidc",
|
||||||
|
}
|
||||||
|
if options.get("oidc_client_id"):
|
||||||
|
oidc_config["clientId"] = options["oidc_client_id"]
|
||||||
|
if options.get("oidc_client_secret"):
|
||||||
|
oidc_config["clientSecret"] = options["oidc_client_secret"]
|
||||||
|
if options.get("oidc_issuer_url"):
|
||||||
|
oidc_config["issuerUrl"] = options["oidc_issuer_url"]
|
||||||
|
if options.get("oidc_scopes"):
|
||||||
|
oidc_config["scopes"] = options["oidc_scopes"]
|
||||||
|
if options.get("oidc_user_identifier"):
|
||||||
|
oidc_config["userIdentifier"] = options["oidc_user_identifier"]
|
||||||
|
if options.get("oidc_admin_group"):
|
||||||
|
oidc_config["adminGroup"] = options["oidc_admin_group"]
|
||||||
|
if options.get("oidc_groups_claim"):
|
||||||
|
oidc_config["groupsClaim"] = options["oidc_groups_claim"]
|
||||||
|
if options.get("oidc_logout_redirect_url"):
|
||||||
|
oidc_config["logoutRedirectUrl"] = options["oidc_logout_redirect_url"]
|
||||||
|
oidc_config["createUser"] = options.get("oidc_create_user", False)
|
||||||
|
oidc_config["disableVerifyTLS"] = options.get("oidc_disable_verify_tls", False)
|
||||||
|
|
||||||
|
auth = {
|
||||||
|
"tokenExpirationHours": options.get("token_expiration_hours", 2),
|
||||||
|
"adminUsername": options.get("admin_username", "admin"),
|
||||||
|
"adminPassword": options.get("admin_password", "admin"),
|
||||||
|
"methods": {
|
||||||
|
"noauth": auth_method == "noauth",
|
||||||
|
"password": password_config,
|
||||||
|
"proxy": proxy_config,
|
||||||
|
"oidc": oidc_config,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
frontend = {
|
||||||
|
"name": "FileBrowser Quantum",
|
||||||
|
}
|
||||||
|
|
||||||
|
config = {
|
||||||
|
"server": server,
|
||||||
|
"auth": auth,
|
||||||
|
"frontend": frontend,
|
||||||
|
}
|
||||||
|
|
||||||
|
with open(config_path, "w", encoding="utf-8") as f:
|
||||||
|
json.dump(config, f, indent=2)
|
||||||
|
f.write("\n")
|
||||||
|
PY
|
||||||
|
|
||||||
|
######################
|
||||||
|
# LAUNCH FILEBROWSER #
|
||||||
|
######################
|
||||||
|
|
||||||
|
# Prevent conflicts
|
||||||
|
for folders in /etc/services.d /etc/s6-overlay; do
|
||||||
|
[[ -d "$folders" ]] && rm -r "$folders"
|
||||||
|
done
|
||||||
|
|
||||||
|
bashio::log.info "Starting..."
|
||||||
|
|
||||||
|
cd /home/filebrowser
|
||||||
|
./filebrowser &
|
||||||
|
bashio::net.wait_for 8080 localhost 900 || true
|
||||||
|
bashio::log.info "Started !"
|
||||||
|
nginx || bashio::log.fatal "Nginx failed"
|
||||||
96
filebrowser_quantum/rootfs/etc/nginx/includes/mime.types
Normal file
@@ -0,0 +1,96 @@
|
|||||||
|
types {
|
||||||
|
text/html html htm shtml;
|
||||||
|
text/css css;
|
||||||
|
text/xml xml;
|
||||||
|
image/gif gif;
|
||||||
|
image/jpeg jpeg jpg;
|
||||||
|
application/javascript js;
|
||||||
|
application/atom+xml atom;
|
||||||
|
application/rss+xml rss;
|
||||||
|
|
||||||
|
text/mathml mml;
|
||||||
|
text/plain txt;
|
||||||
|
text/vnd.sun.j2me.app-descriptor jad;
|
||||||
|
text/vnd.wap.wml wml;
|
||||||
|
text/x-component htc;
|
||||||
|
|
||||||
|
image/png png;
|
||||||
|
image/svg+xml svg svgz;
|
||||||
|
image/tiff tif tiff;
|
||||||
|
image/vnd.wap.wbmp wbmp;
|
||||||
|
image/webp webp;
|
||||||
|
image/x-icon ico;
|
||||||
|
image/x-jng jng;
|
||||||
|
image/x-ms-bmp bmp;
|
||||||
|
|
||||||
|
font/woff woff;
|
||||||
|
font/woff2 woff2;
|
||||||
|
|
||||||
|
application/java-archive jar war ear;
|
||||||
|
application/json json;
|
||||||
|
application/mac-binhex40 hqx;
|
||||||
|
application/msword doc;
|
||||||
|
application/pdf pdf;
|
||||||
|
application/postscript ps eps ai;
|
||||||
|
application/rtf rtf;
|
||||||
|
application/vnd.apple.mpegurl m3u8;
|
||||||
|
application/vnd.google-earth.kml+xml kml;
|
||||||
|
application/vnd.google-earth.kmz kmz;
|
||||||
|
application/vnd.ms-excel xls;
|
||||||
|
application/vnd.ms-fontobject eot;
|
||||||
|
application/vnd.ms-powerpoint ppt;
|
||||||
|
application/vnd.oasis.opendocument.graphics odg;
|
||||||
|
application/vnd.oasis.opendocument.presentation odp;
|
||||||
|
application/vnd.oasis.opendocument.spreadsheet ods;
|
||||||
|
application/vnd.oasis.opendocument.text odt;
|
||||||
|
application/vnd.openxmlformats-officedocument.presentationml.presentation
|
||||||
|
pptx;
|
||||||
|
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
|
||||||
|
xlsx;
|
||||||
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document
|
||||||
|
docx;
|
||||||
|
application/vnd.wap.wmlc wmlc;
|
||||||
|
application/x-7z-compressed 7z;
|
||||||
|
application/x-cocoa cco;
|
||||||
|
application/x-java-archive-diff jardiff;
|
||||||
|
application/x-java-jnlp-file jnlp;
|
||||||
|
application/x-makeself run;
|
||||||
|
application/x-perl pl pm;
|
||||||
|
application/x-pilot prc pdb;
|
||||||
|
application/x-rar-compressed rar;
|
||||||
|
application/x-redhat-package-manager rpm;
|
||||||
|
application/x-sea sea;
|
||||||
|
application/x-shockwave-flash swf;
|
||||||
|
application/x-stuffit sit;
|
||||||
|
application/x-tcl tcl tk;
|
||||||
|
application/x-x509-ca-cert der pem crt;
|
||||||
|
application/x-xpinstall xpi;
|
||||||
|
application/xhtml+xml xhtml;
|
||||||
|
application/xspf+xml xspf;
|
||||||
|
application/zip zip;
|
||||||
|
|
||||||
|
application/octet-stream bin exe dll;
|
||||||
|
application/octet-stream deb;
|
||||||
|
application/octet-stream dmg;
|
||||||
|
application/octet-stream iso img;
|
||||||
|
application/octet-stream msi msp msm;
|
||||||
|
|
||||||
|
audio/midi mid midi kar;
|
||||||
|
audio/mpeg mp3;
|
||||||
|
audio/ogg ogg;
|
||||||
|
audio/x-m4a m4a;
|
||||||
|
audio/x-realaudio ra;
|
||||||
|
|
||||||
|
video/3gpp 3gpp 3gp;
|
||||||
|
video/mp2t ts;
|
||||||
|
video/mp4 mp4;
|
||||||
|
video/mpeg mpeg mpg;
|
||||||
|
video/quicktime mov;
|
||||||
|
video/webm webm;
|
||||||
|
video/x-flv flv;
|
||||||
|
video/x-m4v m4v;
|
||||||
|
video/x-mng mng;
|
||||||
|
video/x-ms-asf asx asf;
|
||||||
|
video/x-ms-wmv wmv;
|
||||||
|
video/x-msvideo avi;
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_ignore_client_abort off;
|
||||||
|
proxy_read_timeout 86400s;
|
||||||
|
proxy_redirect off;
|
||||||
|
proxy_send_timeout 86400s;
|
||||||
|
proxy_max_temp_file_size 0;
|
||||||
|
|
||||||
|
proxy_hide_header X-Frame-Options;
|
||||||
|
proxy_set_header Accept-Encoding "";
|
||||||
|
proxy_set_header Connection $connection_upgrade;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header X-NginX-Proxy true;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
resolver 127.0.0.11 ipv6=off;
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
root /dev/null;
|
||||||
|
server_name $hostname;
|
||||||
|
|
||||||
|
add_header X-Content-Type-Options nosniff;
|
||||||
|
add_header X-XSS-Protection "1; mode=block";
|
||||||
|
add_header X-Robots-Tag none;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
ssl_protocols TLSv1.2 TLSv1.3;
|
ssl_protocols TLSv1.2;
|
||||||
ssl_prefer_server_ciphers on;
|
ssl_prefer_server_ciphers on;
|
||||||
ssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-SHA;
|
ssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-SHA;
|
||||||
ssl_ecdh_curve secp384r1;
|
ssl_ecdh_curve secp384r1;
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
upstream backend {
|
||||||
|
server 127.0.0.1:8080;
|
||||||
|
}
|
||||||
59
filebrowser_quantum/rootfs/etc/nginx/nginx.conf
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
|
||||||
|
# Run nginx in foreground.
|
||||||
|
daemon off;
|
||||||
|
|
||||||
|
# This is run inside Docker.
|
||||||
|
user root;
|
||||||
|
|
||||||
|
# Pid storage location.
|
||||||
|
pid /var/run/nginx.pid;
|
||||||
|
|
||||||
|
# Set number of worker processes.
|
||||||
|
worker_processes 1;
|
||||||
|
|
||||||
|
# Enables the use of JIT for regular expressions to speed-up their processing.
|
||||||
|
# Disabled for compatibility with CPUs that do not support PCRE JIT, which caused
|
||||||
|
# crashes on some systems (see issue #1993).
|
||||||
|
pcre_jit off;
|
||||||
|
|
||||||
|
# Write error log to Hass.io add-on log.
|
||||||
|
error_log /proc/1/fd/1 error;
|
||||||
|
|
||||||
|
# Load allowed environment vars
|
||||||
|
env HASSIO_TOKEN;
|
||||||
|
|
||||||
|
# Load dynamic modules.
|
||||||
|
include /etc/nginx/modules/*.conf;
|
||||||
|
|
||||||
|
# Max num of simultaneous connections by a worker process.
|
||||||
|
events {
|
||||||
|
worker_connections 512;
|
||||||
|
}
|
||||||
|
|
||||||
|
http {
|
||||||
|
include /etc/nginx/includes/mime.types;
|
||||||
|
|
||||||
|
log_format hassio '[$time_local] $status '
|
||||||
|
'$http_x_forwarded_for($remote_addr) '
|
||||||
|
'$request ($http_user_agent)';
|
||||||
|
|
||||||
|
access_log /proc/1/fd/1 hassio;
|
||||||
|
client_max_body_size 4G;
|
||||||
|
default_type application/octet-stream;
|
||||||
|
gzip on;
|
||||||
|
keepalive_timeout 65;
|
||||||
|
sendfile on;
|
||||||
|
server_tokens off;
|
||||||
|
tcp_nodelay on;
|
||||||
|
tcp_nopush on;
|
||||||
|
|
||||||
|
map $http_upgrade $connection_upgrade {
|
||||||
|
default upgrade;
|
||||||
|
'' close;
|
||||||
|
}
|
||||||
|
|
||||||
|
include /etc/nginx/includes/resolver.conf;
|
||||||
|
include /etc/nginx/includes/upstream.conf;
|
||||||
|
|
||||||
|
include /etc/nginx/servers/*.conf;
|
||||||
|
}
|
||||||
17
filebrowser_quantum/rootfs/etc/nginx/servers/ingress.conf
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
server {
|
||||||
|
listen %%interface%%:%%port%% default_server;
|
||||||
|
|
||||||
|
include /etc/nginx/includes/server_params.conf;
|
||||||
|
include /etc/nginx/includes/proxy_params.conf;
|
||||||
|
|
||||||
|
client_max_body_size 0;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
add_header Access-Control-Allow-Origin *;
|
||||||
|
proxy_connect_timeout 30m;
|
||||||
|
proxy_send_timeout 30m;
|
||||||
|
proxy_read_timeout 30m;
|
||||||
|
proxy_pass %%protocol%%://backend%%subpath%%;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
10
filebrowser_quantum/updater.json
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"github_beta": "true",
|
||||||
|
"last_update": "28-12-2025",
|
||||||
|
"paused": false,
|
||||||
|
"repository": "alexbelgium/hassio-addons",
|
||||||
|
"slug": "filebrowser_quantum",
|
||||||
|
"source": "github",
|
||||||
|
"upstream_repo": "gtsteffaniak/filebrowser",
|
||||||
|
"upstream_version": "1.2.0"
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
gitea/stats.png
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
grav/stats.png
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 1.6 KiB |
@@ -1,3 +1,6 @@
|
|||||||
|
|
||||||
|
## 2.4.1 (28-12-2025)
|
||||||
|
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
|
||||||
## 2.4.1 (27-12-2025)
|
## 2.4.1 (27-12-2025)
|
||||||
- Minor bugs fixed
|
- Minor bugs fixed
|
||||||
|
|
||||||
|
|||||||
@@ -139,6 +139,6 @@ slug: immich_cuda
|
|||||||
udev: true
|
udev: true
|
||||||
url: https://github.com/alexbelgium/hassio-addons
|
url: https://github.com/alexbelgium/hassio-addons
|
||||||
usb: true
|
usb: true
|
||||||
version: 2.4.1
|
version: "2.4.1"
|
||||||
video: true
|
video: true
|
||||||
webui: http://[HOST]:[PORT:8080]
|
webui: http://[HOST]:[PORT:8080]
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 1.3 KiB |
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"github_beta": "false",
|
"github_beta": "false",
|
||||||
"last_update": "22-11-2025",
|
"last_update": "28-12-2025",
|
||||||
"repository": "alexbelgium/hassio-addons",
|
"repository": "alexbelgium/hassio-addons",
|
||||||
"slug": "immich",
|
"slug": "immich",
|
||||||
"source": "github",
|
"source": "github",
|
||||||
"upstream_repo": "imagegenius/docker-immich",
|
"upstream_repo": "imagegenius/docker-immich",
|
||||||
"upstream_version": "2.3.1"
|
"upstream_version": "2.4.1"
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 1.3 KiB |