1
0
Fork 0
cmdui/backend/config.example.toml

22 lines
402 B
TOML
Raw Normal View History

2017-11-06 23:12:06 +00:00
log_dir = "data/logs"
2017-10-29 22:06:41 +00:00
[commands]
base_path = "/usr/local/bin/runner"
config_command = "/usr/local/bin/runner_commands --export=json"
[database]
2017-11-06 23:12:06 +00:00
driver = "sqlite3"
spec = "data/cmdui.db"
# MySQL example
# driver = "mysql"
# spec = "root:@(localhost:3306)/commands?charset=utf8mb4&parseTime=true"
2017-10-29 22:06:41 +00:00
[server]
host = "http://127.0.0.1"
port = 9090
[github]
client_id = "secret"
client_secret = "secret"