mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-26 09:16:07 +02:00
Merge pull request #2760 from alexbelgium/claude/ente-addon-review-lM4Zu
ente: fix apparmor name, expose accounts/auth/cast ports, harden DB config
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
## 4.4.22-5 (04-06-2026)
|
||||||
|
- Fix AppArmor profile name (was copied from qbittorrent, could collide with that add-on)
|
||||||
|
- Expose Accounts (3001), Auth (3003) and Cast (3004) ports so the login/2FA web apps are reachable
|
||||||
|
- Default external Postgres port to 5432 when DB_PORT is left blank
|
||||||
|
- Write the correct DB host/port to museum.yaml when using an external database
|
||||||
|
- Exclude minio-data and postgres folders from Home Assistant backups
|
||||||
## 4.4.22-4 (04-06-2026)
|
## 4.4.22-4 (04-06-2026)
|
||||||
- Minor bugs fixed
|
- Minor bugs fixed
|
||||||
## 4.4.22-3 (04-06-2026)
|
## 4.4.22-3 (04-06-2026)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include <tunables/global>
|
#include <tunables/global>
|
||||||
|
|
||||||
profile db21ed7f_qbittorrent flags=(attach_disconnected,mediate_deleted) {
|
profile ente_addon flags=(attach_disconnected,mediate_deleted) {
|
||||||
#include <abstractions/base>
|
#include <abstractions/base>
|
||||||
|
|
||||||
capability chown,
|
capability chown,
|
||||||
@@ -43,7 +43,6 @@ profile db21ed7f_qbittorrent flags=(attach_disconnected,mediate_deleted) {
|
|||||||
/init rix,
|
/init rix,
|
||||||
/var/run/** mrwkl,
|
/var/run/** mrwkl,
|
||||||
/var/run/ mrwkl,
|
/var/run/ mrwkl,
|
||||||
/dev/i2c-1 mrwkl,
|
|
||||||
# Files required
|
# Files required
|
||||||
/dev/fuse mrwkl,
|
/dev/fuse mrwkl,
|
||||||
/dev/sda1 mrwkl,
|
/dev/sda1 mrwkl,
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
arch:
|
arch:
|
||||||
- aarch64
|
- aarch64
|
||||||
- amd64
|
- amd64
|
||||||
|
backup_exclude:
|
||||||
|
- "**/minio-data/**"
|
||||||
|
- "**/postgres/**"
|
||||||
description:
|
description:
|
||||||
Self-hosted, end-to-end-encrypted photo & video storage (Ente server
|
Self-hosted, end-to-end-encrypted photo & video storage (Ente server
|
||||||
+ MinIO)
|
+ MinIO)
|
||||||
@@ -83,7 +86,10 @@ options:
|
|||||||
USE_EXTERNAL_DB: false
|
USE_EXTERNAL_DB: false
|
||||||
ports:
|
ports:
|
||||||
3000/tcp: 8300
|
3000/tcp: 8300
|
||||||
|
3001/tcp: 8301
|
||||||
3002/tcp: 8302
|
3002/tcp: 8302
|
||||||
|
3003/tcp: 8303
|
||||||
|
3004/tcp: 8304
|
||||||
3005/tcp: 8305
|
3005/tcp: 8305
|
||||||
3006/tcp: 8306
|
3006/tcp: 8306
|
||||||
3007/tcp: 8307
|
3007/tcp: 8307
|
||||||
@@ -92,7 +98,10 @@ ports:
|
|||||||
8080/tcp: 8280
|
8080/tcp: 8280
|
||||||
ports_description:
|
ports_description:
|
||||||
3000/tcp: Ente web UI
|
3000/tcp: Ente web UI
|
||||||
|
3001/tcp: Ente Accounts
|
||||||
3002/tcp: Ente Albums
|
3002/tcp: Ente Albums
|
||||||
|
3003/tcp: Ente Auth
|
||||||
|
3004/tcp: Ente Cast
|
||||||
3005/tcp: Ente Share
|
3005/tcp: Ente Share
|
||||||
3006/tcp: Ente Embed
|
3006/tcp: Ente Embed
|
||||||
3007/tcp: Ente Paste
|
3007/tcp: Ente Paste
|
||||||
@@ -122,6 +131,6 @@ schema:
|
|||||||
slug: ente
|
slug: ente
|
||||||
udev: true
|
udev: true
|
||||||
url: https://github.com/alexbelgium/hassio-addons
|
url: https://github.com/alexbelgium/hassio-addons
|
||||||
version: "4.4.22-4"
|
version: "4.4.22-5"
|
||||||
video: true
|
video: true
|
||||||
webui: http://[HOST]:[PORT:3000]
|
webui: http://[HOST]:[PORT:3000]
|
||||||
|
|||||||
@@ -50,6 +50,8 @@ DB_PASS="$(bashio::config 'DB_PASSWORD' || echo ente)"
|
|||||||
# External DB opts (may be blank)
|
# External DB opts (may be blank)
|
||||||
DB_HOST_EXT="$(bashio::config 'DB_HOSTNAME' || echo '')"
|
DB_HOST_EXT="$(bashio::config 'DB_HOSTNAME' || echo '')"
|
||||||
DB_PORT_EXT="$(bashio::config 'DB_PORT' || echo '')"
|
DB_PORT_EXT="$(bashio::config 'DB_PORT' || echo '')"
|
||||||
|
# Default external Postgres port when unset
|
||||||
|
[ -z "$DB_PORT_EXT" ] && DB_PORT_EXT=5432
|
||||||
|
|
||||||
USE_EXTERNAL_DB=false
|
USE_EXTERNAL_DB=false
|
||||||
if bashio::config.true 'USE_EXTERNAL_DB'; then
|
if bashio::config.true 'USE_EXTERNAL_DB'; then
|
||||||
@@ -107,8 +109,8 @@ jwt:
|
|||||||
secret: $(_rand_b64url 32)
|
secret: $(_rand_b64url 32)
|
||||||
|
|
||||||
db:
|
db:
|
||||||
host: ${DB_HOST_INTERNAL}
|
host: ${DB_HOST}
|
||||||
port: ${DB_PORT_INTERNAL}
|
port: ${DB_PORT}
|
||||||
name: ${DB_NAME}
|
name: ${DB_NAME}
|
||||||
user: ${DB_USER}
|
user: ${DB_USER}
|
||||||
password: ${DB_PASS}
|
password: ${DB_PASS}
|
||||||
|
|||||||
Reference in New Issue
Block a user