-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmodules.toml.example
More file actions
59 lines (51 loc) · 3.4 KB
/
modules.toml.example
File metadata and controls
59 lines (51 loc) · 3.4 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# RusToK Module Manifest (example)
# Пример синхронизирован с текущей platform topology.
# Канонический источник истины по активной конфигурации — `modules.toml`.
schema = 2
app = "rustok-server"
[build]
target = "x86_64-unknown-linux-gnu"
profile = "release"
[build.server]
embed_admin = true
embed_storefront = true
[build.admin]
stack = "leptos"
public_url = "http://localhost:3001"
redirect_uris = ["http://localhost:3001/auth/callback"]
[[build.storefront]]
id = "default"
stack = "leptos"
public_url = "http://localhost:3000"
redirect_uris = ["http://localhost:3000/auth/callback"]
[modules]
# Core modules
auth = { crate = "rustok-auth", source = "path", path = "crates/rustok-auth", required = true }
cache = { crate = "rustok-cache", source = "path", path = "crates/rustok-cache", required = true }
channel = { crate = "rustok-channel", source = "path", path = "crates/rustok-channel", required = true }
email = { crate = "rustok-email", source = "path", path = "crates/rustok-email", required = true }
index = { crate = "rustok-index", source = "path", path = "crates/rustok-index", required = true }
search = { crate = "rustok-search", source = "path", path = "crates/rustok-search", required = true }
outbox = { crate = "rustok-outbox", source = "path", path = "crates/rustok-outbox", required = true }
tenant = { crate = "rustok-tenant", source = "path", path = "crates/rustok-tenant", required = true }
rbac = { crate = "rustok-rbac", source = "path", path = "crates/rustok-rbac", required = true }
# Optional modules
content = { crate = "rustok-content", source = "path", path = "crates/rustok-content" }
cart = { crate = "rustok-cart", source = "path", path = "crates/rustok-cart" }
customer = { crate = "rustok-customer", source = "path", path = "crates/rustok-customer" }
product = { crate = "rustok-product", source = "path", path = "crates/rustok-product" }
profiles = { crate = "rustok-profiles", source = "path", path = "crates/rustok-profiles" }
region = { crate = "rustok-region", source = "path", path = "crates/rustok-region" }
pricing = { crate = "rustok-pricing", source = "path", path = "crates/rustok-pricing", depends_on = ["product"] }
inventory = { crate = "rustok-inventory", source = "path", path = "crates/rustok-inventory", depends_on = ["product"] }
order = { crate = "rustok-order", source = "path", path = "crates/rustok-order" }
payment = { crate = "rustok-payment", source = "path", path = "crates/rustok-payment" }
fulfillment = { crate = "rustok-fulfillment", source = "path", path = "crates/rustok-fulfillment" }
commerce = { crate = "rustok-commerce", source = "path", path = "crates/rustok-commerce", depends_on = ["cart", "customer", "product", "region", "pricing", "inventory", "order", "payment", "fulfillment"] }
blog = { crate = "rustok-blog", source = "path", path = "crates/rustok-blog", depends_on = ["content"] }
forum = { crate = "rustok-forum", source = "path", path = "crates/rustok-forum", depends_on = ["content"] }
pages = { crate = "rustok-pages", source = "path", path = "crates/rustok-pages" }
media = { crate = "rustok-media", source = "path", path = "crates/rustok-media" }
workflow = { crate = "rustok-workflow", source = "path", path = "crates/rustok-workflow" }
[settings]
default_enabled = ["content", "cart", "customer", "product", "region", "pricing", "inventory", "order", "payment", "fulfillment", "commerce", "pages"]