Mitra, a light and feature rich federated microblogging platform by Silverpill, container by FJOX.
3.0K
Mitra, a light and feature rich federated microblogging platform by Silverpill, container by FJOX.
services:
mitra:
image: fjox/mitra
container_name: service-mitra
ports:
- "8383:8383"
restart: unless-stopped
volumes:
- ./mitra/config.yaml:/app/config.yaml
- ./mitra/data:/app/data
deploy:
resources:
limits:
cpus: '2'
memory: 256
# Mitra configuration file
# Database configuration.
# Characters `@` in password `/` in hostname should be percent-encoded.
# Examples:
# - postgres://mitra:[email protected]:5432/mitra
# - postgres://mitra@%2Fvar%2Frun%2Fpostgresql/mitra
database_url: postgres://mitra:[email protected]:5432/mitra
#database_tls_ca_file: /etc/mitra/database.pem
# Directory where media attachments and temporary files are stored
storage_dir: /app/data
# Directory where static files for web client (frontend) are stored
web_client_dir: /app/www
# Directory where static files for web client customization are stored.
# Files in that directory will be served instead of files in `web_client_dir`
# when their names match.
#web_client_theme_dir: /app/data/theme
# Host and port where HTTP server accepts connections.
http_host: '127.0.0.1'
http_port: 8383
# Socket on which HTTP server is listening (overrides http_host and http_port).
# Examples:
# - 127.0.0.1:8383
# - /tmp/mitra.sock
#http_socket: '127.0.0.1:8383'
#http_socket_perms: 0o600
# List of allowed origins for CORS (in addition to `instance_url`)
# Trailing slashes are not allowed.
#http_cors_allowlist:
# - http://127.0.0.1:8383
# Log level (debug, info, warn)
#log_level: info
# Base URL
instance_url: https://example.tld
instance_title: example
instance_short_description: my instance
# Long description can contain markdown syntax
instance_description: |
# My instance
Welcome!
# Make list of instance admins public
instance_staff_public: true
# Make instance (local) timeline public
instance_timeline_public: false
registration:
# Possible values: open, invite
type: invite
# Possible values: user, read_only_user
default_role: user
# Possible values: password, eip4361, caip122_monero. Default: only password.
#authentication_methods:
# - password
# - eip4361
# - caip122_monero
# Access token expiration time (seconds). Default: 604800 (7 days)
#authentication_token_lifetime: 604800
# EIP-4361 / CAIP-122 login message
#login_message: 'Do not sign this message on other sites!'
# Limits
#limits:
# media:
# file_size_limit: 20M
# profile_image_size_limit: 5M
# emoji_size_limit: 500K
# posts:
# character_limit: 5000
# attachment_limit: 16
# attachment_local_limit: 16
# Data retention parameters.
# Objects will be deleted after the specified number of days.
#retention:
# # Remote posts with which local accounts didn't interact
# extraneous_posts: 15
# # Remote accounts without posts
# empty_profiles: 30
# Federation parameters
#federation:
# enabled: true
# # By default, requests to private IP addresses are not allowed
# #ssrf_protection_enabled: true
# # Proxy for outgoing requests
# #proxy_url: 'socks5h://127.0.0.1:9050'
# # Proxy for outgoing requests to .onion targets
# #onion_proxy_url: 'socks5h://127.0.0.1:9050'
# # Proxy for outgoing requests to .i2p targets
# #i2p_proxy_url: 'socks5h://127.0.0.1:4447'
# # Timeouts (seconds)
# #fetcher_timeout: 300
# #deliverer_timeout: 100
# OpenMetrics endpoint (/metrics)
#metrics:
# auth_username: null
# auth_password: null
# Blockchain integrations
#blockchains:
# - chain_id: monero:mainnet
# chain_metadata:
# # Displayed on subscription page, can contain markdown syntax
# description: null
# wallet_rpc_url: 'http://127.0.0.1:18083'
# wallet_rpc_username: null
# wallet_rpc_password: null
# wallet_name: null
# wallet_password: null
# account_index: 0
# tx_required_confirmations: 20
Content type
Image
Digest
sha256:18c2967f2…
Size
62.5 MB
Last updated
about 1 month ago
docker pull fjox/mitra