wenjiandeniu commited on
Commit
8452c23
·
verified ·
1 Parent(s): cc5cf34

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +27 -6
README.md CHANGED
@@ -1,11 +1,32 @@
1
  ---
2
- title: Codex2api Sqlite
3
- emoji: 👁
4
- colorFrom: red
5
- colorTo: blue
6
  sdk: docker
 
7
  pinned: false
8
- short_description: codex2api SQLite Docker Space for personal testing
9
  ---
10
 
11
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: codex2api Lite
 
 
 
3
  sdk: docker
4
+ app_port: 8080
5
  pinned: false
 
6
  ---
7
 
8
+ # codex2api Lite
9
+
10
+ This Space runs the lightweight single-container codex2api setup:
11
+
12
+ - SQLite for storage
13
+ - In-memory cache
14
+ - Admin panel at `/admin/`
15
+ - OpenAI-compatible API on `/v1/`
16
+
17
+ Recommended runtime secrets:
18
+
19
+ - `ADMIN_SECRET`
20
+ - `CODEX_API_KEYS`
21
+
22
+ Optional runtime secrets or variables:
23
+
24
+ - `CODEX_PROXY_URL`
25
+ - `USE_WEBSOCKET`
26
+ - `FAST_SCHEDULER_ENABLED`
27
+ - `TZ`
28
+
29
+ Notes:
30
+
31
+ - Data is stored at `/data/codex2api.db`
32
+ - On Hugging Face free Docker Spaces, data is not persistent unless you enable persistent storage