refactor: use env var substitution for Portainer Repository stack
Some checks failed
Build & Push Docker Image / build (push) Failing after 7s
Some checks failed
Build & Push Docker Image / build (push) Failing after 7s
Variables now use \${VAR:-default} syntax so they can be set
via Portainer's environment editor without modifying the compose file.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -5,11 +5,8 @@ services:
|
|||||||
container_name: logwatch
|
container_name: logwatch
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
# ntfy source channel (your Watchtower notifications)
|
- SOURCE_URL=${SOURCE_URL:-https://ntfy.albert-zangerl.com/albert}
|
||||||
- SOURCE_URL=https://ntfy.albert-zangerl.com/albert
|
- TARGET_URL=${TARGET_URL:-https://ntfy.albert-zangerl.com/wichtig}
|
||||||
# ntfy target channel (where important stuff goes)
|
- TARGET_TOKEN=${TARGET_TOKEN:-}
|
||||||
- TARGET_URL=https://ntfy.albert-zangerl.com/wichtig
|
- LOG_LEVEL=${LOG_LEVEL:-INFO}
|
||||||
# optional: Bearer token if target channel needs auth
|
- RECONNECT_DELAY=${RECONNECT_DELAY:-10}
|
||||||
# - TARGET_TOKEN=your-token-here
|
|
||||||
- LOG_LEVEL=INFO
|
|
||||||
- RECONNECT_DELAY=10
|
|
||||||
|
|||||||
Reference in New Issue
Block a user