mirror of
https://github.com/p-stream/docs.git
synced 2026-01-11 20:10:34 +00:00
Update introduction.mdx
fixed intro.mdx
This commit is contained in:
parent
18ba11845c
commit
615a633878
1 changed files with 9 additions and 10 deletions
|
|
@ -8,22 +8,21 @@ The backend is essentially just an account server. It handles user accounts, syn
|
|||
|
||||
## Recommended Community Backend
|
||||
|
||||
I recommend using the [official-backend](https://backend.undi.rest)!
|
||||
I recommend using the [official-backend](https://server.fifthwit.net/)!
|
||||
|
||||
## Metrics
|
||||
|
||||
The backend exposes an endpoint for [Prometheus metrics](https://prometheus.io/) which allows you to keep track of the backend more easily, it can be accessed on `/metrics`.
|
||||
To view these metrics properly, you'll need to use an analytics program like [Grafana](https://grafana.com/), [which can visualize logs from Prometheus](https://prometheus.io/docs/visualization/grafana/).
|
||||
Ex: https://server.fifthwit.net/metrics
|
||||
|
||||
To view these metrics properly, you can use the [P-Stream Metrics Dash](https://dash.pstream.mov/).
|
||||
<Warning>
|
||||
This dash is not functioning properly right now. It does work but certain information
|
||||
can be wrong or outdated. This will be fixed soon
|
||||
</Warning>
|
||||
|
||||
## Security
|
||||
|
||||
Optionally, there are a few security settings:
|
||||
Optionally, is a security setting:
|
||||
|
||||
- [Recaptcha support](./configuration.mdx#captcha), the server can verify Recaptcha v3 tokens on register and login.
|
||||
- [Ratelimits](./configuration.mdx#ratelimits), some expensive endpoints have ratelimits, but only when enabled. This requires an additional redis connection.
|
||||
|
||||
## Migrations
|
||||
|
||||
Migrations help keep your database schema in sync with everyone else. To run migrations, you can use the `pnpm migration:up` command inside the docker container or in your command-line if you're not using docker.
|
||||
|
||||
Alternatively, you can enable the [`postgres.migrateOnBoot`](./configuration.mdx#postgres-migrate-on-boot) variable and it will be automatically migrated on boot.
|
||||
|
|
|
|||
Loading…
Reference in a new issue