File size: 585 Bytes
cc5cf34
8452c23
cc5cf34
8452c23
cc5cf34
 
 
8452c23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: codex2api Lite
sdk: docker
app_port: 8080
pinned: false
---

# codex2api Lite

This Space runs the lightweight single-container codex2api setup:

- SQLite for storage
- In-memory cache
- Admin panel at `/admin/`
- OpenAI-compatible API on `/v1/`

Recommended runtime secrets:

- `ADMIN_SECRET`
- `CODEX_API_KEYS`

Optional runtime secrets or variables:

- `CODEX_PROXY_URL`
- `USE_WEBSOCKET`
- `FAST_SCHEDULER_ENABLED`
- `TZ`

Notes:

- Data is stored at `/data/codex2api.db`
- On Hugging Face free Docker Spaces, data is not persistent unless you enable persistent storage