first commit
This commit is contained in:
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user