-
-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (33 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
33 lines (33 loc) · 1.01 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:-eceasy/cli-proxy-api:latest}
# Removed pull_policy: always to prioritize local builds with custom static files
build:
context: .
dockerfile: Dockerfile
args:
VERSION: ${VERSION:-dev}
COMMIT: ${COMMIT:-none}
BUILD_DATE: ${BUILD_DATE:-unknown}
container_name: cli-proxy-api
# env_file:
# - .env
environment:
DEPLOY: ${DEPLOY:-}
MANAGEMENT_AUTO_UPDATE: "false"
AUTH_DIR: "/root/.cli-proxy-api"
ports:
- "8317:8317"
- "8085:8085"
- "1455:1455"
- "54545:54545"
- "51121:51121"
- "11451:11451"
volumes:
- ./config.yaml:/CLIProxyAPI/config.yaml
- ${HOME}/.cli-proxy-api:/root/.cli-proxy-api
- ./logs:/CLIProxyAPI/logs
# Mount local static files to use custom dashboard
# This ensures your custom management.html is used instead of the one baked into the image
- ./static:/CLIProxyAPI/static
restart: unless-stopped