19 Commits

Author SHA1 Message Date
github-actions
b8811847a4 GitHub bot: changelog 2025-12-31 10:27:03 +00:00
Alexandre
01fbdec656 Update config.yaml 2025-12-31 11:24:59 +01:00
Alexandre
bdb0013393 Merge pull request #2323 from alexbelgium/codex/align-and-export-container-hostname
Align Portainer Agent hostname with container name
2025-12-31 11:24:29 +01:00
Alexandre
baaf441b01 Align hostname with container name 2025-12-31 11:24:12 +01:00
github-actions
b4cf41bdaf GitHub bot: changelog 2025-12-31 08:36:19 +00:00
Alexandre
775caddd7e Update version to 2025.12-5 in config.yaml 2025-12-31 09:34:02 +01:00
Alexandre
dd931d7696 Fix exec command in portainer_agent run script 2025-12-31 09:33:37 +01:00
Alexandre
3357799fa3 Update run 2025-12-31 09:32:01 +01:00
github-actions
79dfd665d2 GitHub bot: changelog 2025-12-31 08:25:56 +00:00
Alexandre
4520703d39 Update run 2025-12-31 09:25:26 +01:00
Alexandre
fe34bc4998 Update version of Portainer Agent to 2025.12-4 2025-12-31 09:23:46 +01:00
github-actions
dcdd67993b GitHub bot: changelog 2025-12-31 08:19:04 +00:00
Alexandre
03d5e4c1e0 Update config.yaml 2025-12-31 09:18:09 +01:00
Alexandre
40439cf497 Add PORTAINER_AGENT_ARGS to config.yaml 2025-12-31 09:16:39 +01:00
Alexandre
6cb204ca93 Update run 2025-12-31 09:16:02 +01:00
Alexandre
0f4cb6f0f0 Nobuild 2025-12-31 09:15:25 +01:00
Alexandre
3183ed841a Update config.yaml 2025-12-31 09:10:39 +01:00
github-actions
ec37da3c72 GitHub bot: changelog 2025-12-31 08:05:27 +00:00
Alexandre
15d2d44c9e Update config.yaml 2025-12-31 09:03:03 +01:00
3 changed files with 21 additions and 12 deletions

View File

@@ -1,3 +1,13 @@
## 2025.12-6 (31-12-2025)
- Minor bugs fixed
## 2025.12-5 (31-12-2025)
- Minor bugs fixed
## 2025.12-4 (31-12-2025)
- Minor bugs fixed
## 2025.12-3 (31-12-2025)
- Minor bugs fixed
## 2025.12-2 (31-12-2025)
- Minor bugs fixed
## alpine-sts-3 (30-12-2025)
- Minor bugs fixed
## alpine-sts-2 (30-12-2025)

View File

@@ -41,4 +41,4 @@ schema:
slug: portainer_agent
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: 2025.12
version: 2025.12-6

View File

@@ -1,19 +1,18 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -e
# ==============================================================================
# Home Assistant Community Add-on: portainer_agent
# Runs some initializations for portainer_agent
# ==============================================================================
set -euo pipefail
bashio::require.unprotected
bashio::log.info "Starting app"
# Launch app
cd /app || true
cd /app || exit 1
container_name="${HOSTNAME//-/_}"
export HOSTNAME="${container_name}"
args=()
if bashio::config.has_value 'PORTAINER_AGENT_ARGS'; then
./agent "$PORTAINER_AGENT_ARGS" 2> /dev/null
else
./agent
read -r -a args <<<"$(bashio::config 'PORTAINER_AGENT_ARGS')"
fi
./agent "${args[@]}"