From 33bc8bfb247f4fcbfc206bdeb9c0e118e961ba59 Mon Sep 17 00:00:00 2001 From: Lia Lenckowski Date: Wed, 23 Aug 2023 19:16:29 +0200 Subject: document config file; small fixes in default config & build system --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4047bf0..9e98f7a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,9 @@ The server keeps its own list of bangs, initialized with those from duckduckgo. There is a public instance running at [search.metamuffin.org](https://search.metamuffin.org), running on a server in germany. ## Configuration -Configuration is done through environment variables. The following may be used: +Configuration is done through environment variables, or a file named "fastbangs.yaml" sitting in the working directory of the server. Running `make` will include a default config. + +If you go with environment variables, the following options are available: - PORT: port to bind to. Default: 20546 - BIND\_ADDR: address to bind to. Default: any ipv4/ipv6 interface - BASE\_URL: url of the deployed website, without trailing slash. Default: "http://localhost:20546" -- cgit v1.2.3-70-g09d2