代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。