Prepare persistent v4.5 deployment

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
Lihatoo 2026-06-12 17:31:15 +08:00
parent 048d4b0c07
commit cbbef10e5d
3 changed files with 13 additions and 4 deletions

View file

@ -23,6 +23,11 @@ The service listens on port `18765`. You can later reverse proxy `np.lihato.icu`
- `POST /api/jobs`
- `GET /api/jobs/<job_id>`
## Persistent Shares
Shared result links are stored in Redis when `NP_REDIS_URL` is enabled. The compose file maps Redis data to `./runtime/redis` and enables AOF/RDB persistence, so shares survive container recreation and service restarts. Back up or migrate `./runtime/redis` if you move the deployment.
## Notes
- `tube` mode supports strand concentrations and `SetSpec(max_size=...)`.