-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
73 lines (73 loc) · 1.61 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
version: "3.7"
services:
kasm:
build: .
image: ghcr.io/mdrs-community/mdrs-workspace-image:v1.0.0
ports:
- "6901:6901"
environment:
VNC_PW: password
shm_size: '512m'
stdin_open: true # docker run -i
tty: true # docker run -t
network_mode: bridge
volumes:
- type: bind
source: ./kasm_user
target: /home/kasm-user
devices:
- "/dev/ttyACM0"
- "/dev/ttyUSB0"
device_cgroup_rules:
- "c 188:* rmw"
privileged: true
security_opt:
- seccomp=unconfined
kasm2:
build: .
image: ghcr.io/mdrs-community/mdrs-workspace-image:v1.0.0
ports:
- "6902:6901"
environment:
VNC_PW: password
shm_size: '512m'
stdin_open: true # docker run -i
tty: true # docker run -t
network_mode: bridge
volumes:
- type: bind
source: ./kasm_user2
target: /home/kasm-user2
devices:
- "/dev/ttyACM0"
- "/dev/ttyUSB0"
device_cgroup_rules:
- "c 188:* rmw"
privileged: true
security_opt:
- seccomp=unconfined
kasm3:
build: .
image: ghcr.io/mdrs-community/mdrs-workspace-image:v1.0.0
ports:
- "6903:6901"
environment:
VNC_PW: password
shm_size: '512m'
stdin_open: true # docker run -i
tty: true # docker run -t
network_mode: bridge
volumes:
- type: bind
source: ./kasm_user3
target: /home/kasm-user3
devices:
- "/dev/ttyACM0"
- "/dev/ttyUSB0"
device_cgroup_rules:
- "c 188:* rmw"
privileged: true
security_opt:
- seccomp=unconfined
...