-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcodetours.toml.example
More file actions
43 lines (32 loc) · 1.16 KB
/
Copy pathcodetours.toml.example
File metadata and controls
43 lines (32 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Codetours Server Configuration Example
# The host to bind to. Default: "127.0.0.1"
host = "127.0.0.1"
# The port to listen on. Default: 8080
port = 8080
# Directory where tenant databases and packs are stored. Default: "./data"
data_dir = "./data"
# Log level (debug, info, warn, error). Default: "info"
log_level = "info"
# Maximum number of concurrently open tenant databases. Default: 256
max_open_tenants = 256
# Maximum allowed size for a SQLite pack upload in bytes. Default: 5MB
max_pack_size = 5242880
[storage]
# Number of SQLite connections in the pool per tenant. Default: 8
pool_size = 8
[auth]
# Authentication mode ("stub" or "github-oauth"). Default: "stub"
mode = "stub"
# Token used for development/stub authentication.
# Clients must provide this in the 'X-Tour-Token' header.
dev_token = "dev-token"
# ------------------------------------------------------------------------------
# Codemark CLI Client Configuration (~/.codemark/config.toml)
# ------------------------------------------------------------------------------
#
# [codetours]
# default_server = "codetours"
#
# [[codetours.servers]]
# name = "codetours"
# url = "https://codetours.fly.dev"