Skip to content

Commit

Permalink
Update configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
bclswl0827 committed Feb 10, 2024
1 parent f659c71 commit c3803f2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
14 changes: 13 additions & 1 deletion docs/AnyShake Observer/Configuration/seedlink.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,26 @@ This object manages SeedLink settings for AnyShake Observer, which are optional
- Type: `int`
- Description: SeedLink server port

### size

- Type: `int`
- Description: SeedLink buffer size

### buffer

- Type: `string`
- Description: Path to SeedLink buffer file

## Example

```json
{
"seedlink_settings": {
"enable": false,
"host": "0.0.0.0",
"port": 18000
"port": 18000,
"size": 43200,
"buffer": "/data/sl_buffer.dat"
}
}
```
3 changes: 2 additions & 1 deletion docs/AnyShake Observer/Configuration/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ This object manages server settings for AnyShake Observer.
"host": "0.0.0.0",
"port": 8073,
"cors": true,
"debug": false
"debug": false,
"rate": 30
}
}
9 changes: 6 additions & 3 deletions docs/AnyShake Observer/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ You need to configure AnyShake Observer after installing it. Here is a quick con

## Configuration

The configuration file is in JSON format. You can use any text editor to edit it. The demo configuration is taken from [v2.5.0](https://github.com/anyshake/observer/releases/tag/v2.5.1).
The configuration file is in JSON format. You can use any text editor to edit it. The demo configuration is taken from [v2.8.0](https://github.com/anyshake/observer/releases/tag/v2.8.0).

```json
{
Expand Down Expand Up @@ -67,7 +67,8 @@ The configuration file is in JSON format. You can use any text editor to edit it
"host": "0.0.0.0", // Web server host
"port": 8073, // Web server port
"cors": true, // Enable CORS
"debug": false // Enable debug mode, /api/v1/devel endpoint will be available
"debug": false, // Enable debug mode, /api/v1/devel endpoint will be available
"rate": 30 // Rate limit in requests per second for API endpoints
},
"miniseed_settings": {
"enable": false, // Enable MiniSEED archiver
Expand All @@ -77,7 +78,9 @@ The configuration file is in JSON format. You can use any text editor to edit it
"seedlink_settings": {
"enable": false, // Enable SeedLink streamer
"host": "0.0.0.0", // SeedLink streamer host
"port": 18000 // SeedLink streamer port
"port": 18000, // SeedLink streamer port
"size": 43200, // SeedLink buffer size
"buffer": "/data/sl_buffer.dat" // Path to SeedLink buffer file
}
}
```
Expand Down

0 comments on commit c3803f2

Please sign in to comment.