-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.toml
More file actions
33 lines (28 loc) · 878 Bytes
/
Copy pathconfig.example.toml
File metadata and controls
33 lines (28 loc) · 878 Bytes
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
# APK Cache bootstrap configuration.
#
# Most runtime settings are imported into SQLite on first boot and should be
# managed later from /admin/. Existing DB settings win over TOML/env values.
[server]
listen = ":3142"
[cache]
# Used before SQLite opens. Empty DB will import the built-in runtime defaults.
data_root = "./data"
# Optional first-import override for disk cache files.
# root = "./cache"
[database]
# Empty means "${cache.data_root}/apk-cache.db".
path = ""
[hash_store]
# Empty means "${cache.data_root}/hash.pebble".
path = ""
# Optional first-import examples. After DB initialization, manage these from
# /admin/ instead of editing this file.
#
# [[upstreams]]
# name = "Official Alpine CDN"
# url = "https://dl-cdn.alpinelinux.org"
# kind = "apk"
# proxy = "socks5://127.0.0.1:1080"
#
# [proxy]
# allowed_hosts = ["deb.debian.org", "security.debian.org"]