-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.ron
82 lines (82 loc) · 2.33 KB
/
config.ron
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Config (
api: Some(
ApiConfig (
name: "sf-api",
image: "sugarfunge.azurecr.io/api:latest",
port: 4000,
listen_url: "http://0.0.0.0:4000",
node_url: "ws://sf-node:9944",
)
),
explorer: Some(
ExplorerConfig (
name: "sf-explorer",
image: "sugarfunge.azurecr.io/explorer:latest",
port: 80,
ws_url: "wss://node.sugarfunge.dev",
)
),
ipfs: Some(
IpfsConfig (
name: "sf-ipfs",
image: "ipfs/go-ipfs:v0.13.0",
swarm_tcp_port: 4001,
swarm_udp_port: 4002,
api_port: 5001,
swarm_key: None,
)
),
keycloak: Some(
KeycloakConfig (
name: "sf-keycloak",
image: "quay.io/keycloak/keycloak:18.0.0",
port: 8080,
admin_username: "keycloak",
admin_password: "keycloak",
db_config: KeycloakDatabaseConfig (
db_database: "keycloak",
db_user: "keycloak",
db_password: "keycloak",
db_address: "sf-db-postgresql",
db_port: 5432,
db_schema: "public",
),
)
),
node: Some(
NodeConfig (
name: "sf-node",
image: "sugarfunge.azurecr.io/node:latest",
ws_port: 9945,
p2p_port: 30335,
prometheus_port: 9090,
node_name: "bob",
chainspec_file_name: None,
chainspec_ext: None,
bootnode: Some(
BootNode(
dns_url: Some("sf-node.default.svc.cluster.local"),
dns_ip: None,
p2p_port: 30334,
private_key: "12D3KooWGzN9EZLNkxEVeApishpq8d3pzChPmw9jQ9kra3csTAhk",
)
),
)
),
status: Some(
StatusConfig (
name: "sf-status",
image: "sugarfunge.azurecr.io/status:latest",
port: 8000,
node_url: "wss://node.sugarfunge.dev",
)
),
ingress: Some(
IngressConfig (
name: "sf-ingress",
host: "demo.sugarfunge.dev",
tls_secret: "sf-ingress-tls",
tls_issuer: "letsencrypt-staging",
)
),
)