mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Working docker image generation and docker compose sample
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
name: oott
|
||||
|
||||
services:
|
||||
oott:
|
||||
image: oott:latest
|
||||
volumes:
|
||||
- /docker/oott/config:/config
|
||||
- /docker/oott/db:/db
|
||||
network_mode: host
|
||||
@@ -0,0 +1,21 @@
|
||||
[database]
|
||||
path = "./oott.db" # Database path. Make sure it's writeable for the user running this process
|
||||
|
||||
[networking]
|
||||
interface = "eno1" # Network interface to use for scans
|
||||
|
||||
[log]
|
||||
level = "info" # off, error, warn, info, debug, trace
|
||||
|
||||
[timings]
|
||||
wait_between_scans="15m" # Wait time between scans. This does not include the scan time
|
||||
arp_sender_timeout="1m" # If the ARP sender process takes longer than this it will be stopped (for a class C network - 254 IPs - it should take less than a minute)
|
||||
arp_scan_duration="30s" # How long to wait for response packets on each scan (5m to 10m is a good timeframe for a class B or C network)
|
||||
|
||||
[notifications]
|
||||
method="pushover" # For now just pushover, you can set this to "none" to avoid sending notifications (it will just log)
|
||||
notify_when_not_seen_for="1w" # Send a notification if a device comes back online after not being seen for this timeframe
|
||||
|
||||
[notifications.pushover]
|
||||
token="" # Your pushover token goes here, just copy&paste from their website after creating the app
|
||||
user_key="" # User key goes here, this is the account wide code for pushover
|
||||
Reference in New Issue
Block a user