mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-02 04:20:50 +08:00
23 lines
604 B
YAML
23 lines
604 B
YAML
services:
|
|
cli-proxy-api:
|
|
image: ${CLI_PROXY_IMAGE:-eceasy/cli-proxy-api:latest}
|
|
pull_policy: always
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
VERSION: ${VERSION:-dev}
|
|
COMMIT: ${COMMIT:-none}
|
|
BUILD_DATE: ${BUILD_DATE:-unknown}
|
|
container_name: cli-proxy-api
|
|
ports:
|
|
- "8317:8317"
|
|
- "8085:8085"
|
|
- "1455:1455"
|
|
- "54545:54545"
|
|
volumes:
|
|
- ./config.yaml:/CLIProxyAPI/config.yaml
|
|
- ./auths:/root/.cli-proxy-api
|
|
- ./logs:/CLIProxyAPI/logs
|
|
- ./conv:/CLIProxyAPI/conv
|
|
restart: unless-stopped |