37 lines
892 B
YAML
37 lines
892 B
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
|
|
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:
|