Skip to content

Commit

Permalink
docs: Drago config keys no description
Browse files Browse the repository at this point in the history
  • Loading branch information
clburlison committed Nov 17, 2023
1 parent cd9e4b0 commit de97433
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 2 deletions.
85 changes: 85 additions & 0 deletions pages/docs/dragonite/config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,88 @@ import { Callout } from 'nextra-theme-docs'
<Callout type="info" emoji="🚧">
This page is still under construction
</Callout>


## General section

```toml
[general]
login_delay = 20
# seconds to sleep in-between PTC authing on one proxy

# Whether raw worker stats are written
stats = false

# Host and Port used for the Dragonite API
api_host = "127.0.0.1"
api_port = 7272
```

## Koji section

```toml
[koji]
url = "http://ip:port"
bearer_token = "KOJI_SECRET"
```

## Prometheus section

```toml
#[prometheus]
#enabled = true
```

## Tunning section

```toml
[tuning]
dynamic_route_split = true
#recycle_gmo_limit = 4900
#recycle_encounter_limit = 9900
#recycle_on_jail=false
#minimum_account_reuse_hours = 169
#location_delay = 0
#fort_location_delay = 0
```

## Rotom section

```toml
[rotom]
endpoint = "ws://127.0.0.1:7071"
```

## Logging section

```toml
[logging]
save = true
#debug = false
#max_size = 500 # MB
#max_age = 30 # days
```

## Processors section

```toml
[processors]
# Golbat Endpoint is singular - and will configure an endpoint for raw sending and API
golbat_endpoint = "http://127.0.0.1:9001"
golbat_raw_bearer = ""
golbat_api_secret = ""
# if this is present then dragonite will not send raws to the httpendpoint
#golbat_grpc_endpoint = "127.0.0.1:50001"
```

## Database section

```toml
[db.dragonite]
host = "0.0.0.0"
port = 3306
user = ""
password = ""
name = "dragonite"
pool_size = 1
```
4 changes: 2 additions & 2 deletions pages/docs/dragonite/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import { Callout } from 'nextra-theme-docs'
- **Quest Mode** is Enabled
- **Quest Hours** has at least one number in the Array.

<Callout type="info" emoji="🚧">
Validate your Quest Hours are saved properly inside your database! [Issue #10](https://github.com/UnownHash/Dragonite-Public/issues/10)
<Callout type="info" emoji="ℹ️">
Validate your Quest Hours are saved inside your database! [Issue #10](https://github.com/UnownHash/Dragonite-Public/issues/10)
</Callout>


Expand Down

0 comments on commit de97433

Please sign in to comment.