mirror of
https://github.com/router-for-me/CLIProxyAPIPlus.git
synced 2026-03-07 22:33:30 +00:00
# Conflicts: # config.example.yaml # internal/config/config.go # sdk/cliproxy/auth/model_name_mappings.go
29 lines
773 B
YAML
29 lines
773 B
YAML
services:
|
|
cli-proxy-api:
|
|
image: ${CLI_PROXY_IMAGE:-eceasy/cli-proxy-api-plus: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-plus
|
|
# env_file:
|
|
# - .env
|
|
environment:
|
|
DEPLOY: ${DEPLOY:-}
|
|
ports:
|
|
- "8317:8317"
|
|
- "8085:8085"
|
|
- "1455:1455"
|
|
- "54545:54545"
|
|
- "51121:51121"
|
|
- "11451:11451"
|
|
volumes:
|
|
- ${CLI_PROXY_CONFIG_PATH:-./config.yaml}:/CLIProxyAPI/config.yaml
|
|
- ${CLI_PROXY_AUTH_PATH:-./auths}:/root/.cli-proxy-api
|
|
- ${CLI_PROXY_LOG_PATH:-./logs}:/CLIProxyAPI/logs
|
|
restart: unless-stopped
|