-
-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathdocker-compose.yml
35 lines (34 loc) · 1.19 KB
/
docker-compose.yml
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
32
33
34
35
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