diff options
author | Lia Lenckowski <lialenck@protonmail.com> | 2023-08-23 19:16:29 +0200 |
---|---|---|
committer | Lia Lenckowski <lialenck@protonmail.com> | 2023-08-23 19:16:29 +0200 |
commit | 33bc8bfb247f4fcbfc206bdeb9c0e118e961ba59 (patch) | |
tree | 498bf05cd0c1ea0d65f314e6f56877cd2fb9c4a4 /README.md | |
parent | 1e52fa4df63352835ea3020c727ea6093779e176 (diff) | |
download | fastbangs-33bc8bfb247f4fcbfc206bdeb9c0e118e961ba59.tar fastbangs-33bc8bfb247f4fcbfc206bdeb9c0e118e961ba59.tar.bz2 fastbangs-33bc8bfb247f4fcbfc206bdeb9c0e118e961ba59.tar.zst |
document config file; small fixes in default config & build system
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" |