Add running examples

This commit is contained in:
2024-05-14 11:27:54 +01:00
parent d4e36110d1
commit fc9263dc81
4 changed files with 58 additions and 3 deletions

View File

@ -9,4 +9,22 @@ Image hosting service
- Blurhash calculation (NIP-96)
## Planned
- Torrent seed V2
- Torrent seed V2
## Running
### Docker Compose
The easiest way to run `void-cat-rs` is to use `docker compose`
```bash
docker compose -f docker-compose.prod.yml up
```
### Manual
Assuming you already created your `config.toml` and configured the `database` run:
```bash
docker run --rm -it \
-p 8000:8000 \
-v ./config.toml:/app/config.toml \
-e "RUST_LOG=info" \
voidic/void-cat-rs
```