-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig-example.json
More file actions
77 lines (77 loc) · 1.98 KB
/
config-example.json
File metadata and controls
77 lines (77 loc) · 1.98 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"server": {
"host": "localhost",
"port": "8080"
},
"database": {
"dsn": "postgres://postgres:postgres@postgres:5432/myceliumcloud?sslmode=disable"
},
"jwt_token": {
"secret": "your-jwt-secret-key-here-make-it-long-and-secure",
"access_expiry_minutes": 15,
"refresh_expiry_hours": 25
},
"admins": ["admin@example.com", "admin2@example.com"],
"mailSender": {
"email": "noreply@example.com",
"sendgrid_key": "your-sendgrid-api-key-here",
"timeout": 5,
"max_concurrent_sends": 20,
"max_attachment_size_mb": 10
},
"redis": {
"hostname": "localhost",
"port": 6379,
"password": "pass",
"db": 0
},
"currency": "USD",
"stripe_secret": "sk_test_your_stripe_secret_key_here",
"voucher_name_length": 8,
"terms_and_conditions": {
"document_link": "https://example.com/terms",
"document_hash": "sha256:example_hash_here"
},
"system_account": {
"mnemonic": "your system account 12-word mnemonic phrase goes here for blockchain operations",
"network": "dev"
},
"deployer_workers_num": 3,
"invoice": {
"name": "Your Company Name",
"address": "123 Business Street, City",
"governorate": "Your Governorate"
},
"ssh": {
"private_key_path": "/home/user/.ssh/id_rsa",
"public_key_path": "/home/user/.ssh/id_rsa.pub"
},
"debug": false,
"disable_sentry": true,
"dev_mode": false,
"monitor_balance_interval_in_minutes": 120,
"notify_admins_for_pending_records_in_hours": 24,
"cluster_health_check_interval_in_hours": 1,
"node_health_check" : {
"reserved_node_health_check_interval_in_hours": 1,
"reserved_node_health_check_timeout_in_minutes": 1,
"reserved_node_health_check_workers_num": 10
},
"logger": {
"log_dir": "./app/logs",
"max_size": 512,
"max_backups": 12,
"max_age": 30,
"compress": true
},
"loki": {
"labels": {
"app": "myceliumCloud",
"env": "dev",
"host": ""
}
},
"telemetry": {
"otlp_endpoint": "jaeger:4317"
}
}