Initial commit: EifelDC - Discord-like Matrix chat platform
Some checks failed
CI / Rust Check (push) Has been cancelled
CI / Rust Tests (push) Has been cancelled
CI / Frontend Check (push) Has been cancelled
CI / Build Tauri (macOS) (push) Has been cancelled
CI / Build Tauri (macOS Intel) (push) Has been cancelled
CI / Build Tauri (Linux) (push) Has been cancelled

Includes server (Rust/Axum API proxy with voice management),
Tauri desktop client with Svelte UI, bot-sdk, Docker infra
(Synapse, PostgreSQL, Coturn, Nginx), and CI/CD pipeline.
This commit is contained in:
root
2026-04-28 08:23:23 +02:00
commit 0978d0c2e9
82 changed files with 12417 additions and 0 deletions

View File

@@ -0,0 +1,88 @@
server_name: "eifeldc.local"
pid_file: "/data/homeserver.pid"
listeners:
- port: 8008
type: http
tls: false
x_forwarded: true
bind_addresses: ['0.0.0.0']
resources:
- names: [client, federation]
compress: false
- port: 8448
type: http
tls: false
x_forwarded: true
bind_addresses: ['0.0.0.0']
resources:
- names: [federation]
compress: false
database:
name: psycopg2
txn_limit: 10000
args:
user: synapse
password: synapse_password
database: synapse
host: postgres
cp_min: 5
cp_max: 10
log_config: "/data/log.config"
media_store_path: "/data/media_store"
uploads_path: "/data/uploads"
registration_enabled: true
enable_registration: true
enable_registration_without_verification: true
admin_contact: "admin@eifeldc.local"
macaroon_secret_key: "CHANGE_ME_GENERATE_A_RANDOM_STRING"
form_secret: "CHANGE_ME_GENERATE_ANOTHER_RANDOM_STRING"
signing_key_path: "/data/signing.key"
trusted_key_servers:
- server_name: "matrix.org"
turn_uris: ["turn:eifeldc.local?transport=udp", "turn:eifeldc.local?transport=tcp"]
turn_shared_secret: "CHANGE_ME_MATCH_COTURN_SECRET"
turn_user_lifetime: 86400000
enable_metrics: true
metrics_port: 9100
rc_message:
per_second: 5
burst_count: 50
rc_registration:
per_second: 0.5
burst_count: 3
rc_login:
account:
per_second: 0.5
burst_count: 3
address:
per_second: 0.5
burst_count: 3
rc_joins:
local:
per_second: 0.1
burst_count: 3
remote:
per_second: 0.01
burst_count: 3
app_service_config_files: []
instance_map: {}
stream_writers: {}

39
infra/synapse/log.config Normal file
View File

@@ -0,0 +1,39 @@
version: 1
formatters:
precise:
format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s - %(message)s'
handlers:
console:
class: logging.StreamHandler
formatter: precise
stream: 'ext://sys.stdout'
file:
class: logging.handlers.RotatingFileHandler
formatter: precise
filename: /data/homeserver.log
maxBytes: 10485760
backupCount: 3
encoding: utf8
loggers:
synapse:
handlers: [console, file]
level: INFO
propagate: false
synapse.storage.SQL:
handlers: [console, file]
level: WARNING
propagate: false
synapse.federation.transport:
handlers: [console, file]
level: WARNING
propagate: false
root:
handlers: [console, file]
level: INFO