25 lines
496 B
Markdown
25 lines
496 B
Markdown
# Casket backend
|
|
|
|
Backend server for casket.
|
|
|
|
## Running
|
|
|
|
```bash
|
|
cd casket-backend
|
|
cargo run
|
|
```
|
|
|
|
## Configuration
|
|
|
|
See [casket.toml](./casket.toml) for an example config file. By default, the following files are checked
|
|
to exist:
|
|
|
|
- `./casket-backend/casket.toml`
|
|
- `/config/casket.toml`
|
|
|
|
Additionally, it is possible to provide configs via environment variables. Use the prefix `CASKET_`.
|
|
For nested configs use two underscores to mark the place to split:
|
|
|
|
```bash
|
|
CASKET_SERVER__port=1234
|
|
``` |