91 lines
2.1 KiB
TOML
91 lines
2.1 KiB
TOML
[account_manager]
|
|
rpc_port = 19329
|
|
rpc_bind = "0.0.0.0"
|
|
mqtt_port = 1883
|
|
mqtt_bind = "0.0.0.0"
|
|
database_url = "postgres://postgres@localhost/myco_accounts"
|
|
idm_url = "https://localhost:8443"
|
|
|
|
[cart_manager]
|
|
rpc_port = 19330
|
|
rpc_bind = "0.0.0.0"
|
|
mqtt_port = 1884
|
|
mqtt_bind = "0.0.0.0"
|
|
database_url = "postgres://postgres@localhost/myco_carts"
|
|
|
|
[database]
|
|
url = "postgres://postgres@localhost/myco"
|
|
|
|
[email_sender]
|
|
rpc_port = 19331
|
|
rpc_bind = "0.0.0.0"
|
|
mqtt_port = 1885
|
|
mqtt_bind = "0.0.0.0"
|
|
database_url = "postgres://postgres@localhost/myco_emails"
|
|
|
|
[files]
|
|
public_path = "/uploads"
|
|
local_path = "/var/local/myco"
|
|
|
|
[mail]
|
|
sendgrid_secret = "Create sendgrid account and copy credentials here"
|
|
sendgrid_api_key = "Create sendgrid account and copy credentials here"
|
|
smtp_from = "Valid sendgrid authorized email address. Example: contact@example.com"
|
|
|
|
[order_manager]
|
|
rpc_port = 19334
|
|
rpc_bind = "0.0.0.0"
|
|
mqtt_port = 1887
|
|
mqtt_bind = "0.0.0.0"
|
|
database_url = "postgres://postgres@localhost/myco_orders"
|
|
|
|
[payment]
|
|
rpc_port = 19335
|
|
rpc_bind = "0.0.0.0"
|
|
mqtt_port = 1888
|
|
mqtt_bind = "0.0.0.0"
|
|
adapters_path = "./adapters"
|
|
optional_payment = true
|
|
|
|
[payment.pay_u]
|
|
client_id = "Create payu account and copy here client_id"
|
|
client_secret = "Create payu account and copy here client_secret"
|
|
merchant_id = "Create payu account and copy here merchant id"
|
|
example2 = "custom value2"
|
|
example1 = "custom value1"
|
|
|
|
[search]
|
|
sonic_search_addr = "[::1]:1491"
|
|
sonic_search_pass = "SecretPassword"
|
|
sonic_ingest_addr = "[::1]:1491"
|
|
sonic_ingest_pass = "SecretPassword"
|
|
rpc_port = 19332
|
|
rpc_bind = "0.0.0.0"
|
|
search_active = true
|
|
|
|
[stocks]
|
|
rpc_port = 19333
|
|
rpc_bind = "0.0.0.0"
|
|
mqtt_port = 1886
|
|
mqtt_bind = "0.0.0.0"
|
|
database_url = "postgres://postgres@localhost/myco_stocks"
|
|
|
|
[tokens]
|
|
rpc_port = 19336
|
|
rpc_bind = "0.0.0.0"
|
|
mqtt_port = 1889
|
|
mqtt_bind = "0.0.0.0"
|
|
database_url = "postgres://postgres@localhost/myco_tokens"
|
|
|
|
[web]
|
|
host = "https://your.comain.com"
|
|
pass_salt = "Generate it with myco generate-hash"
|
|
session_secret = "100 characters long random string"
|
|
jwt_secret = "100 characters long random string"
|
|
bind = "0.0.0.0"
|
|
port = 8080
|
|
signature = "John Doe"
|
|
service_name = "myco"
|
|
|
|
[plugin]
|