-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathdocker-compose.build.yml
More file actions
31 lines (28 loc) · 1.14 KB
/
docker-compose.build.yml
File metadata and controls
31 lines (28 loc) · 1.14 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
# ============================================
# 本地构建 override(gateway/frontend/backend)
# ============================================
# 用法: docker compose -f docker-compose.yml -f docker-compose.build.yml up -d --build
services:
gateway:
image: opencodeui-gateway:local
build:
context: .
dockerfile: docker/Dockerfile.gateway
frontend:
image: opencodeui-frontend:local
build:
context: .
dockerfile: docker/Dockerfile.frontend
backend:
image: opencodeui-backend:local
build:
context: .
dockerfile: docker/Dockerfile.backend
args:
USE_CHINA_MIRROR: ${USE_CHINA_MIRROR:-1}
APT_MIRROR: ${APT_MIRROR:-http://mirrors.tuna.tsinghua.edu.cn/debian}
APT_SECURITY_MIRROR: ${APT_SECURITY_MIRROR:-http://mirrors.tuna.tsinghua.edu.cn/debian-security}
NPM_CONFIG_REGISTRY: ${NPM_CONFIG_REGISTRY:-https://registry.npmmirror.com}
NODEJS_ORG_MIRROR: ${NODEJS_ORG_MIRROR:-https://npmmirror.com/mirrors/node}
MISE_INSTALL_URL: ${MISE_INSTALL_URL:-https://mise.run}
OPENCODE_INSTALL_URL: ${OPENCODE_INSTALL_URL:-https://opencode.ai/install}