File size: 904 Bytes
caa8226
f938cda
caa8226
f938cda
caa8226
 
 
f938cda
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: CLIProxyAPI Server
sdk: docker
app_port: 8317
pinned: false
---

# CLIProxyAPI Server

This Space runs `CLIProxyAPI` from the latest upstream GitHub release instead of building from source.

## Runtime Layout

- Persistent data directory: `/data`
- Environment file: `/data/.env`
- Main config file: `/data/config.yaml`
- Default home directory: `/data`

## Startup Behavior

- The container downloads the latest release from `router-for-me/CLIProxyAPI` during image build.
- On first start, if `/data/config.yaml` does not exist, it is created from the bundled `config.example.yaml`.
- The service starts with `--config /data/config.yaml`.
- Because the working directory is `/data`, CLIProxyAPI loads `/data/.env` automatically.

## Notes

- Keep the service port aligned with this Space setting. The default here is `8317`.
- Persisted auth data and other runtime files stay under `/data`.