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>
13 lines
406 B
YAML
13 lines
406 B
YAML
services:
|
|
logwatch:
|
|
build: .
|
|
image: logwatch:latest
|
|
container_name: logwatch
|
|
restart: unless-stopped
|
|
environment:
|
|
- SOURCE_URL=${SOURCE_URL:-https://ntfy.albert-zangerl.com/albert}
|
|
- TARGET_URL=${TARGET_URL:-https://ntfy.albert-zangerl.com/wichtig}
|
|
- TARGET_TOKEN=${TARGET_TOKEN:-}
|
|
- LOG_LEVEL=${LOG_LEVEL:-INFO}
|
|
- RECONNECT_DELAY=${RECONNECT_DELAY:-10}
|