Skip to content

Commit

Permalink
Fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
galt-tr committed Jan 23, 2024
1 parent 172c4f6 commit a17f4d1
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/config/envs/local.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
"p2p": {
"ip": "0.0.0.0",
"port": "9906",
"alert_system_protocol_id": "/bitcoin-stn/alert-system/0.0.1",
"alert_system_protocol_id": "/bitcoin/alert-system/0.0.1",
"bootstrap_peer": "",
"private_key_path": "",
"topic_name": "alert_system_stn"
"topic_name": "alert_system"
},
"rpc_connections": [
{
Expand Down
69 changes: 69 additions & 0 deletions app/config/envs/stn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"alert_webhook_url": "",
"request_logging": true,
"web_server": {
"idle_timeout": "60s",
"port": "3000",
"read_timeout": "15s",
"write_timeout": "15s"
},
"environment": "local",
"datastore": {
"auto_migrate": true,
"debug": true,
"engine": "sqlite",
"password": "",
"table_prefix": "alert_system",
"sqlite": {
"database_path": "alert_system_datastore.db",
"shared": false
},
"sql_read": {
"driver": "postgresql",
"host": "localhost",
"max_connection_idle_time": "20s",
"max_connection_time": "20s",
"max_idle_connections": 2,
"max_open_connections": 5,
"name": "alert_system_db",
"password": "postgres",
"port": "5432",
"replica": true,
"skip_initialize_with_version": true,
"time_zone": "UTC",
"tx_timeout": "20s",
"user": "postgres"
},
"sql_write": {
"driver": "postgresql",
"host": "localhost",
"max_connection_idle_time": "20s",
"max_connection_time": "20s",
"max_idle_connections": 2,
"max_open_connections": 5,
"name": "alert_system_db",
"password": "postgres",
"port": "5432",
"replica": false,
"skip_initialize_with_version": true,
"time_zone": "UTC",
"tx_timeout": "20s",
"user": "postgres"
}
},
"p2p": {
"ip": "0.0.0.0",
"port": "9906",
"alert_system_protocol_id": "/bitcoin-stn/alert-system/0.0.1",
"bootstrap_peer": "",
"private_key_path": "",
"topic_name": "alert_system_stn"
},
"rpc_connections": [
{
"user": "galt",
"password": "galt",
"host": "http://localhost:8333"
}
]
}

0 comments on commit a17f4d1

Please sign in to comment.