Commit

Author:

Hash:

Timestamp:

+5 -71 +/-1 browse

Kevin Schoon [me@kevinschoon.com]

3a4aa7e73ee15dafc8a02a6bf49a50be985d145c

Tue, 13 May 2025 14:24:28 +0000 (6 months ago)

update example config
1diff --git a/config.example.toml b/config.example.toml
2index 697369c..4308272 100644
3--- a/config.example.toml
4+++ b/config.example.toml
5 @@ -2,10 +2,10 @@
6 site_name = "🌄 Ayllu"
7
8 # A valid URI that identifies this server on the global internet
9- origin = "localhost:8080"
10+ origin = "localhost:10000"
11
12 # sysadmin contact address
13- sysadmin = "admin@ayllu-forge.org"
14+ sysadmin = "admin@example.org"
15
16 # number of background threads to drive asynchronous tasks forward with in the
17 # web server and any other component that is multithreaded. Note that all
18 @@ -16,10 +16,8 @@ sysadmin = "admin@ayllu-forge.org"
19 # runtime. See https://docs.rs/tokio/latest/tokio/runtime/struct.Builder.html#method.max_blocking_threads
20 # max_blocking_threads = 512
21
22-
23-
24 # logging level
25- log_level = "debug"
26+ log_level = "info"
27
28 # enable when ayllu is being served from a "subpath". Clicking the home
29 # button will send the user back to /browse instead of /. This is useful if you
30 @@ -114,15 +112,7 @@ address = "127.0.0.1:8080"
31 # see an example Nginx configuration in contrib/nginx/nginx.conf
32 [sites]
33 # set false if you want to disallow all static hosting
34- enabled = true
35-
36- # SQLite configuration
37- [database]
38- # path to a SQLite database.
39- # Defaults to ~/.local/share/ayllu/state.db
40- # path = "db/state.db"
41- # if migrations should be automatically applied
42- migrate = true
43+ enabled = false
44
45 # tree-sitter backed syntax highlighting
46 [tree-sitter]
47 @@ -234,64 +224,8 @@ extensions = [".rs"]
48 # path = "/path/to/projects"
49 # # If true the collection will not show up in the main index or RSS feeds
50 # hidden = false
51- #
52+
53 # [[collections]]
54 # name = "attic"
55 # description = "archived code"
56 # path = "/path/to/attic"
57-
58- # builder configuration for *this* builder instance
59- [builder]
60- # address = /tmp/builder.socket
61- [builder.database]
62- migrate = true
63-
64- # array of all known builders with their connection address
65- # [[builders]]
66- # hostname = localhost
67- # address = /tmp/builder.socket
68-
69- # Maitred mail server configuration
70- [mail]
71- # Address which the SMTP server will listen on
72- address = "127.0.0.1:30025"
73- # If HAProxy's Proxy Protocol should be supported, useful if you are running
74- # ayllu-mail behind a reverse proxy like Nginx.
75- # proxy_protocol = false
76-
77- # If ayllu-mail should do SPF verification. Note that SPF failures are
78- # outright rejected by the mail server.
79- # [mail.spf]
80- # enabled = false
81-
82- # If ayllu-mail should do DKIM veritification
83- # [mail.dkim]
84- # enabled = false
85-
86- # If ayllu-mail should support STARTTLS
87- # [mail.tls]
88- # certificate = "cert.pem"
89- # key = "key.pem"
90-
91- # Pre-allocated authorized senders list that do not require authorization
92- [[mail.authorized_senders]]
93- name = "Fuu"
94- address = "fuu@bar.com"
95-
96- # mailing lists to configure and automatically accept e-mail for
97- [[mail.lists]]
98- id = "hello"
99- # unique identifier across all mailing lists
100- name = "hello"
101- # address used to manage subscriptions
102- request_address = "request+hello@example.org"
103- # fully qualified email address where the mailing list lives
104- address = "hello@example.org"
105- # friendly description
106- description = "an illistrative mailing list"
107- # free-form string tags to specify the purpose of the mailing list
108- topics = ["fuu", "bar"]
109- # mailing list post policy
110- post_policy = "Open"
111- # mailing list subscription policy
112- subscription_policy = {"send_confirmation" = true, "kind" = "Open"}