65 lines
1.6 KiB
TOML
65 lines
1.6 KiB
TOML
|
[payment]
|
||
|
payu_client_id = 'Create payu account and copy here client_id'
|
||
|
payu_client_secret = 'Create payu account and copy here client_secret'
|
||
|
payu_client_merchant_id = 0
|
||
|
optional_payment = true
|
||
|
|
||
|
[web]
|
||
|
host = 'https://your.comain.com'
|
||
|
pass_salt = 'Generate it with bazzar 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 = 'bazzar'
|
||
|
|
||
|
[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'
|
||
|
|
||
|
[database]
|
||
|
url = 'postgres://postgres@localhost/bazzar'
|
||
|
|
||
|
[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
|
||
|
|
||
|
[files]
|
||
|
public_path = '/uploads'
|
||
|
local_path = '/var/local/bazzar'
|
||
|
|
||
|
[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/bazzar_accounts'
|
||
|
|
||
|
[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/bazzar_carts'
|
||
|
|
||
|
[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/bazzar_emails'
|
||
|
|
||
|
[stocks]
|
||
|
rpc_port = 19333
|
||
|
rpc_bind = '0.0.0.0'
|
||
|
mqtt_port = 1886
|
||
|
mqtt_bind = '0.0.0.0'
|
||
|
database_url = 'postgres://postgres@localhost/bazzar_stocks'
|