summaryrefslogtreecommitdiff
path: root/f3s/goprecords/README.md
blob: 500713935d5e64cb63c5bdc85eef86719c5c25bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# goprecords on f3s

This directory contains Docker image and Kubernetes deployment config for `goprecords`.

## Image workflow

Build and push to the private NodePort registry:

```bash
cd /home/paul/git/conf/f3s/goprecords
just build-push
```

The image is pushed as:

- `r0.lan.buetow.org:30001/goprecords:0.3.1`

The deployment pulls from:

- `registry.lan.buetow.org:30001/goprecords:0.3.1`

## Runtime config

The container runs daemon mode:

- `-daemon`
- `-listen=:8080`
- `-stats-dir=/data/stats`

Data persistence:

- PVC: `goprecords-stats-pvc`
- Mount path: `/data/stats`
- Auth DB defaults to `/data/stats/goprecords-auth.db`

## Endpoints

- `/health` (liveness)
- `/livez` (liveness)
- `/readyz` (readiness)
- `/report` (HTTP read API)
- `/upload/{host}/{kind}` (upload API)