mirror of
https://github.com/MedzikUser/go-pingbot
synced 2024-08-14 23:57:07 +00:00
Medzik
614054e446
BREAKING CHANGE: mongodb database and collection ISN'T LONGER IN ENV MUST BE IN config.toml, and RENAME MONGODB_URI to MONGO_URI IN .env. Deleted node in config.
19 lines
607 B
TOML
19 lines
607 B
TOML
[http]
|
|
enabled=true # Enable Website
|
|
port=8080 # Port to listen
|
|
|
|
[backend]
|
|
enabled=true # Enable Backend
|
|
ping=3 # Ping every three minutes
|
|
|
|
[autoupdate]
|
|
enabled=true # Enable Auto Updater
|
|
check=2 # Check every two minutes
|
|
|
|
[mongodb]
|
|
database="PingBot" # MongoDB Database Name
|
|
collection="URL" # MongoDB Collection Name
|
|
|
|
[options]
|
|
stop_after_ping=false # Stop after all pings
|
|
stop_after_ping_timeout=120 # If not pinget or other options stop program after 120 (default) seconds
|