master
Bel LaPointe 2022-01-13 02:12:20 -05:00
commit e9e62a00e9
3 changed files with 32 additions and 0 deletions

27
conduit.toml Normal file
View File

@ -0,0 +1,27 @@
[global]
server_name = "monolith.mac"
# This is the only directory where Conduit will save its data
database_path = "/mnt/"
port = 6167
max_request_size = 20_000_000 # in bytes
allow_registration = true
allow_encryption = false
allow_federation = false
trusted_servers = ["matrix.org", "synapse.home.blapointe.com"]
max_concurrent_requests = 10
#log = "info,state_res=warn,rocket=off,_=off,sled=off"
#workers = 4 # default: cpu core count * 2
address = "127.0.0.1" # This makes sure Conduit can only be reached using the reverse proxy
proxy = "none" # more examples can be found at src/database/proxy.rs:6
db_cache_capacity_mb = 100

BIN
mnt/conduit.db Normal file

Binary file not shown.

5
run.sh Normal file
View File

@ -0,0 +1,5 @@
#! /bin/bash
mkdir ./mnt
touch ./conduit.toml
docker run --rm -it -p 8448:6167 -v $PWD/mnt:/mnt -v $PWD/conduit.toml:/srv/conduit/conduit.toml -v $PWD/db:/srv/conduit/.local/share/conduit matrixconduit/matrix-conduit:latest