forked from kaitranntt/CLIProxyAPIPlus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (33 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
33 lines (33 loc) · 1.04 KB
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
services:
cli-proxy-api:
image: ${CLI_PROXY_IMAGE:-tamntlib/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"
# OAuth callback ports are host-loopback only so browser-based login
# works from Docker Compose without exposing callbacks on the LAN.
- "127.0.0.1:1455:1455"
- "127.0.0.1:8085:8085"
- "127.0.0.1:9876:9876"
- "127.0.0.1:11451:11451"
- "127.0.0.1:17171:17171"
- "127.0.0.1:51121:51121"
- "127.0.0.1:54545:54545"
- "127.0.0.1:56121:56121"
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