Remove config.json from repo, move to gitignore. Change api_host to 10.0.1.2

This commit is contained in:
Lucy
2026-05-16 12:50:51 +02:00
parent 52b1b59264
commit b9adf420c9
3 changed files with 3 additions and 24 deletions

2
.gitignore vendored
View File

@@ -21,3 +21,5 @@ Thumbs.db
# Project-specific
bridge-state.json
*.log
config.json

View File

@@ -1,23 +0,0 @@
{
"matrix": {
"server": "matrix.daedalus706.de",
"user_id": "@lucy:matrix.daedalus706.de",
"room_id": "!8zLJacfaL2WYoYVp:matrix.daedalus706.de",
"credentials_file": "/home/admin/auth/matrix-credentials.txt"
},
"agent": {
"base_url": "http://10.0.1.2:8080"
},
"bridge": {
"poll_interval_seconds": 1,
"state_file": "/home/admin/agent-dir/bridge-state.json",
"matrix_poll_timeout": 0,
"agent_timeout_seconds": 30,
"agent_retries": 3,
"max_message_length": 40000,
"processed_ids_limit": 200,
"agent_response_timeout": 300,
"api_host": "127.0.0.1",
"api_port": 8082
}
}

View File

@@ -37,7 +37,7 @@ class BridgeConfig:
max_message_length: int = 40000
processed_ids_limit: int = 200
agent_response_timeout: int = 300
api_host: str = "127.0.0.1"
api_host: str = "10.0.1.2"
api_port: int = 8082