From fd992d7e3c03f37fbcafe9d3f26c72a2ead3b2a7 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Thu, 26 Sep 2024 17:31:16 -0500 Subject: feat!: impl full api --- config.toml | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) (limited to 'config.toml') diff --git a/config.toml b/config.toml index 867ee91..815ae94 100644 --- a/config.toml +++ b/config.toml @@ -1,20 +1,7 @@ -title = "tobyvin.dev" -template_path = "./index.html" -output_dir = "/tmp/out" +root = "assets" +address = "127.0.0.1:8080" -[[services]] -name = "tobyvin.dev" -type = "http" -url = "https://tobyvin.dev" -method = "GET" -status = 200 - -[[services]] -name = "ollama" -type = "systemd" -service = "ollama.service" - -[[services]] -name = "DNS" -type = "tcp" -address = "10.42.0.1:53" +[services] +"tobyvin.dev" = { url = "https://tobyvin.dev" } +ollama = { service = "ollama.service" } +dns = { address = "10.42.0.1:53" } -- cgit v1.2.3-70-g09d2