-
Notifications
You must be signed in to change notification settings - Fork 0
/
weaver.toml
65 lines (56 loc) · 2.07 KB
/
weaver.toml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# This is a Service Weaver config file, written in TOML. Different sections of
# the config file configure various aspects of an application. See
# https://serviceweaver.dev/docs#config-files for details.
# The [serviceweaver] section is the only required section and configures the
# basics of an application, including the binary to run, the command line
# arguments to pass, and the environment variables to set.
[serviceweaver]
binary = "raycat"
# args = ["put", "command", "line", "arguments", "here"]
# env = ["PUT=foo", "ENV=bar", "VARS=baz", "HERE="]
# The [single] section configures the behavior of the app when deployed via
# `weaver single deploy`. See serviceweaver.dev/docs.html#single-process for
# more information about the single process deployer.
["raycat/subConfigureProvider"]
public_sub_file_paths = [
"sss",
"ddd"
]
private_sub_file_paths = [
"sss1",
"ddd1"
]
url_sub_fetch_timeout_seconds = 2
public_url_subs = [
"url1",
"url2"
]
private_url_subs = [
"url3",
"url4"
]
private_sub_token = "gopher"
sub_publish_path = "/subscibe"
sub_auth_param_name = "x-id"
["raycat/subConfigureProvider".response_option]
update_interval_hours = 8
profile_web_page = "https://x.com"
[single]
listeners.lis = { address = "localhost:9000" }
# The [multi] section configures the behavior of the app when deployed via
# `weaver multi deploy`. See serviceweaver.dev/docs.html#multiprocess for more
# information about the multiprocess deployer.
[multi]
listeners.lis = { address = "localhost:9000" }
# The [kube] section configures the behavior of the app when deployed via
# `weaver kube deploy`. See github.com/serviceweaver/weaver-kube for
# more information about the kubernetes deployer.
[kube]
listeners.lis = { public = true }
image = "DOCKER_HUB_USERNAME/app" # see `weaver kube deploy --help` for details
# The [gke] section configures the behavior of the app when deployed via
# `weaver gke deploy`. See serviceweaver.dev/docs.html#gke for more information
# about the GKE deployer.
[gke]
regions = ["us-west1"]
listeners.lis = { public_hostname = "app.example.com" }