Files
vulnerability_bot/docker-compose.yml
2026-01-09 13:50:10 +01:00

24 lines
573 B
YAML

services:
nvd-notifier:
build: .
container_name: nvd-telegram-notifier
restart: unless-stopped
network_mode: "host"
env_file:
- .env
volumes:
# Persist state files
- ./data:/app/data
environment:
# Override paths to use the data volume
- STATE_PATH=/app/data/state.json
- SUBSCRIBERS_PATH=/app/data/subscribers.json
dns:
- 8.8.8.8
- 8.8.4.4
# Uncomment to see logs in real-time
# logging:
# driver: "json-file"
# options:
# max-size: "10m"
# max-file: "3"