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
|
2022-12-22 20:27:56 +00:00
|
|
|
# Path to web client static files
|
2022-12-27 21:46:48 +00:00
|
|
|
web_client_dir: /usr/share/mitra/www
|
2022-05-11 21:05:44 +00:00
|
|
|
|
|
|
|
http_host: '127.0.0.1'
|
|
|
|
http_port: 8383
|
|
|
|
|
2023-02-11 00:02:00 +00:00
|
|
|
# List of allowed origins for CORS (in addition to main)
|
|
|
|
#http_cors_allowlist: []
|
|
|
|
|
2022-05-11 21:05:44 +00:00
|
|
|
# Log level (debug, info, warn)
|
|
|
|
#log_level: info
|
|
|
|
|
|
|
|
# Domain name
|
2023-02-09 15:37:50 +00:00
|
|
|
instance_uri: https://example.tld
|
|
|
|
|
2022-05-11 21:05:44 +00:00
|
|
|
instance_title: example
|
|
|
|
instance_short_description: my instance
|
|
|
|
# Long description can contain markdown syntax
|
2023-03-12 18:42:22 +00:00
|
|
|
instance_description: |
|
|
|
|
# My instance
|
|
|
|
Welcome!
|
2022-05-11 21:05:44 +00:00
|
|
|
|
2023-01-24 20:55:24 +00:00
|
|
|
registration:
|
|
|
|
# Possible values: open, invite
|
|
|
|
type: invite
|
2023-03-03 18:14:00 +00:00
|
|
|
# Possible values: user, read_only_user
|
|
|
|
default_role: user
|
2022-05-11 21:05:44 +00:00
|
|
|
|
|
|
|
# EIP-4361 login message
|
|
|
|
#login_message: 'Do not sign this message on other sites!'
|
|
|
|
|
2023-01-30 00:23:16 +00:00
|
|
|
# Limits
|
|
|
|
#limits:
|
|
|
|
# media:
|
|
|
|
# file_size_limit: 20M
|
2023-02-04 21:47:13 +00:00
|
|
|
# posts:
|
|
|
|
# character_limit: 2000
|
2023-01-30 00:23:16 +00:00
|
|
|
|
2023-02-05 01:22:33 +00:00
|
|
|
# Data retention parameters
|
2023-02-22 20:09:40 +00:00
|
|
|
retention:
|
|
|
|
extraneous_posts: 50
|
|
|
|
empty_profiles: 150
|
2023-02-05 01:22:33 +00:00
|
|
|
|
2023-02-22 22:14:42 +00:00
|
|
|
# Federation parameters
|
|
|
|
#federation:
|
2023-03-21 16:05:59 +00:00
|
|
|
# enabled: true
|
2023-02-22 22:14:42 +00:00
|
|
|
# # Proxy for outgoing requests
|
|
|
|
# #proxy_url: 'socks5h://127.0.0.1:9050'
|
2023-03-06 14:30:34 +00:00
|
|
|
# # Proxy for outgoing requests to .onion targets
|
|
|
|
# #onion_proxy_url: 'socks5h://127.0.0.1:9050'
|
2023-02-22 22:14:42 +00:00
|
|
|
|
2022-06-14 19:46:46 +00:00
|
|
|
# List of blocked domains
|
|
|
|
#blocked_instances: []
|
|
|
|
|
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'
|