加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.19 KB
一键复制 编辑 原始数据 按行查看 历史
services:
ui:
image: webrtc-nuts-and-bolts/ui
container_name: webrtcnb-ui
build:
context: ui # Dockerfile location
args:
# See for available variants: https://github.com/devcontainers/images/tree/main/src/typescript-node
- VARIANT:22-bookworm
volumes:
# Mount the root folder that contains .git
- "./ui:/workspace:cached"
ports:
- "8080:8080" # Port expose for UI Webpack Dev Server
backend:
image: webrtc-nuts-and-bolts/backend
container_name: webrtcnb-backend
build:
context: backend # Dockerfile location
args:
# See for available variants: https://hub.docker.com/_/golang?tab=tags
- VARIANT:1.23.0-bookworm
# See: https://code.visualstudio.com/docs/remote/create-dev-container#_set-up-a-folder-to-run-in-a-container
# [Optional] Required for ptrace-based debuggers like C++, Go, and Rust
cap_add:
- SYS_PTRACE
security_opt:
- seccomp:unconfined
volumes:
# Mount the root folder that contains .git
- "./backend:/workspace:cached"
ports:
- "8081:8081" # Port expose for backend WebSocket
- "15000:15000/udp" # Port expose for backend UDP end
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化