2022-05-11 21:05:44 +00:00
|
|
|
# Mitra configuration file
|
|
|
|
|
|
|
|
database_url: postgres://mitra:mitra@127.0.0.1:5432/mitra
|
|
|
|
storage_dir: /var/lib/mitra
|
|
|
|
|
|
|
|
http_host: '127.0.0.1'
|
|
|
|
http_port: 8383
|
|
|
|
|
|
|
|
# Log level (debug, info, warn)
|
|
|
|
#log_level: info
|
|
|
|
|
|
|
|
# Domain name
|
|
|
|
instance_uri: example.tld
|
|
|
|
instance_title: example
|
|
|
|
instance_short_description: my instance
|
|
|
|
# Long description can contain markdown syntax
|
|
|
|
instance_description: my instance
|
|
|
|
|
|
|
|
registrations_open: false
|
|
|
|
|
|
|
|
# EIP-4361 login message
|
|
|
|
#login_message: 'Do not sign this message on other sites!'
|
|
|
|
|
|
|
|
#post_character_limit: 2000
|
|
|
|
|
2022-10-19 18:39:47 +00:00
|
|
|
# Proxy for outgoing requests
|
|
|
|
#proxy_url: 'socks5h://127.0.0.1:9050'
|
|
|
|
|
2022-06-14 19:46:46 +00:00
|
|
|
# List of blocked domains
|
|
|
|
#blocked_instances: []
|
|
|
|
|
2022-08-30 16:13:58 +00:00
|
|
|
# Blockchain integrations
|
2022-09-08 13:38:52 +00:00
|
|
|
# Multiple configuration are currently not allowed.
|
2022-08-31 18:54:10 +00:00
|
|
|
# Chain metadata for EVM chains can be found at https://github.com/ethereum-lists/chains
|
2022-06-22 21:37:59 +00:00
|
|
|
# Signing key for ethereum integration can be generated with `mitractl generate-ethereum-address`
|
2022-08-30 16:13:58 +00:00
|
|
|
#blockchains:
|
|
|
|
# - chain_id: eip155:31337
|
2022-08-31 18:54:10 +00:00
|
|
|
# chain_metadata:
|
|
|
|
# chain_name: localhost
|
|
|
|
# currency_name: ETH
|
|
|
|
# currency_symbol: ETH
|
|
|
|
# currency_decimals: 18
|
|
|
|
# public_api_url: 'http://127.0.0.1:8545'
|
|
|
|
# explorer_url: null
|
2022-08-30 16:13:58 +00:00
|
|
|
# contract_address: '0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9'
|
|
|
|
# contract_dir: /usr/share/mitra/contracts
|
|
|
|
# api_url: 'http://127.0.0.1:8545'
|
|
|
|
# signing_key: null
|
|
|
|
# chain_sync_step: 1000
|
|
|
|
# chain_reorg_max_depth: 10
|
2022-09-08 13:38:52 +00:00
|
|
|
# - chain_id: monero:mainnet
|
2022-09-24 20:26:34 +00:00
|
|
|
# node_url: 'http://opennode.xmr-tw.org:18089'
|
2022-09-08 13:38:52 +00:00
|
|
|
# wallet_url: 'http://127.0.0.1:18083'
|
|
|
|
# wallet_name: mitra
|
|
|
|
# wallet_password: mitra
|
|
|
|
|
2022-06-03 20:25:21 +00:00
|
|
|
|
|
|
|
# IPFS integration
|
|
|
|
#ipfs_api_url: 'http://127.0.0.1:5001'
|
|
|
|
# IPFS gateway (for clients)
|
|
|
|
#ipfs_gateway_url: 'https://ipfs.example.tld'
|