Files
vibemake-pcb-studio/codex_pcb/compose.yaml
T
likang d3fa24ae7e
CI / typecheck + test + build (push) Waiting to run
Configure production PCB providers and document deployment
2026-11-25 15:06:02 +08:00

51 lines
1.3 KiB
YAML

name: vibemake-pcb
services:
pcb-backend:
image: vibemake-pcb-backend:local
build:
context: ..
dockerfile: codex_pcb/Dockerfile
args:
DEBIAN_MIRROR: http://mirrors.tuna.tsinghua.edu.cn/debian
DEBIAN_SECURITY_MIRROR: http://mirrors.tuna.tsinghua.edu.cn/debian-security
NPM_REGISTRY: https://registry.npmmirror.com
PIP_INDEX_URL: https://mirrors.ustc.edu.cn/pypi/simple
restart: unless-stopped
env_file:
- .env.local
# Online releases use Doubao even if a development env file is supplied.
environment:
PCB_AI_PROVIDER: doubao
PCB_ALLOWED_PROVIDERS: doubao
PCB_CODEX_AUTH: apikey
PCB_MODEL: ""
OPENAI_API_KEY: ""
OPENAI_API_KEY_FILE: ""
CODEX_API_KEY: ""
CODEX_API_KEY_FILE: ""
DEEPSEEK_API_KEY: ""
DEEPSEEK_API_KEY_FILE: ""
PCB_CLAUDE_TOKEN: ""
PCB_CLAUDE_TOKEN_FILE: ""
ports:
- "127.0.0.1:8003:8003"
volumes:
- pcb-data:/data
- type: bind
source: ../vendor/lceda-pro
target: /opt/lceda-pro
read_only: true
bind:
create_host_path: false
shm_size: "1gb"
stop_grace_period: 30s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
volumes:
pcb-data: