Real-time NOAA severe weather alerts delivered via Pushover push notifications to your devices.
2.0K
Real-time NOAA severe weather alerts delivered via Pushover push notifications to your devices.
# Pull the image
docker pull k9barry/noaa-alerts-pushover:latest
# Create configuration files
mkdir -p data output
wget https://raw.githubusercontent.com/k9barry/noaa-alerts-pushover/master/config.txt.example -O config.txt
wget https://raw.githubusercontent.com/k9barry/noaa-alerts-pushover/master/counties.json
# Edit config.txt with your Pushover credentials
# Edit counties.json with your monitored counties
# Run the container
docker run -d \
--name noaa-alerts \
-v $(pwd)/config.txt:/app/config.txt:ro \
-v $(pwd)/counties.json:/app/counties.json:ro \
-v $(pwd)/output:/app/output \
-v $(pwd)/data:/app/data \
-e RUN_MODE=scheduler \
-e TZ=UTC \
--restart unless-stopped \
k9barry/noaa-alerts-pushover:latest
Download templates:
RUN_MODE: Set to scheduler for continuous monitoring (recommended) or once for single runTZ: Timezone for logs (default: UTC)/app/config.txt - Configuration file (mount as read-only)/app/counties.json - Counties list (mount as read-only)/app/output - Generated HTML alert files/app/data - SQLite databaseConfigure check intervals in config.txt:
[schedule]
fetch_interval = 5 # Check for new alerts (minutes)
cleanup_interval = 24 # Remove expired HTML files (hours)
vacuum_interval = 168 # Database maintenance (hours/weekly)
Example docker-compose.yml:
services:
noaa-alerts:
image: k9barry/noaa-alerts-pushover:latest
container_name: noaa-alerts-pushover
restart: unless-stopped
volumes:
- ./config.txt:/app/config.txt:ro
- ./counties.json:/app/counties.json:ro
- ./output:/app/output
- ./data:/app/data
environment:
- PYTHONUNBUFFERED=1
- TZ=UTC
- RUN_MODE=scheduler
healthcheck:
test: ["CMD", "/healthcheck.sh"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
noaa (UID 1000)The container runs as UID 1000. Ensure mounted directories are writable:
# If your user is UID 1000 (check with: id -u)
chmod 755 ./output ./data
# Otherwise, set ownership
sudo chown -R 1000:1000 ./output ./data
latest - Latest stable release from master branchv2.2.0, v2.1.0, etc. - Specific version tags2.2, 2 - Major/minor version shortcutsTest the setup without continuous monitoring:
docker run --rm \
-v $(pwd)/config.txt:/app/config.txt:ro \
-v $(pwd)/counties.json:/app/counties.json:ro \
-v $(pwd)/output:/app/output \
-v $(pwd)/data:/app/data \
-e RUN_MODE=once \
k9barry/noaa-alerts-pushover:latest
Enable debug logging:
docker run --rm \
-v $(pwd)/config.txt:/app/config.txt:ro \
-v $(pwd)/counties.json:/app/counties.json:ro \
-v $(pwd)/output:/app/output \
-v $(pwd)/data:/app/data \
-e RUN_MODE=once \
k9barry/noaa-alerts-pushover:latest \
--debug --nopush
MIT License - See LICENSEβ
Content type
Image
Digest
sha256:fb02822f0β¦
Size
119.8 MB
Last updated
10 months ago
docker pull k9barry/noaa-alerts-pushover