Skip to content

Commit 5e25910

Browse files
- feat: docker compose work in progress
1 parent 48bff0a commit 5e25910

2 files changed

Lines changed: 54 additions & 0 deletions

File tree

File renamed without changes.

docker-compose.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
version: "3.8"
2+
3+
services:
4+
dev:
5+
build:
6+
context: .
7+
dockerfile: Docker/Dockerfile
8+
image: rcs-dev
9+
container_name: rcs-dev
10+
tty: true
11+
stdin_open: true
12+
volumes:
13+
- .:/home/devuser/project
14+
environment:
15+
- DISPLAY=${DISPLAY}
16+
shm_size: "2g"
17+
18+
gui:
19+
image: rcs-dev
20+
container_name: gui-dev
21+
tty: true
22+
stdin_open: true
23+
environment:
24+
- DISPLAY=${DISPLAY}
25+
volumes:
26+
- .:/home/devuser/project
27+
- /tmp/.X11-unix:/tmp/.X11-unix
28+
shm_size: "2g"
29+
30+
gpu:
31+
image: rcs-dev
32+
container_name: gpu-dev
33+
tty: true
34+
stdin_open: true
35+
environment:
36+
- DISPLAY=${DISPLAY}
37+
- NVIDIA_VISIBLE_DEVICES=all
38+
- NVIDIA_DRIVER_CAPABILITIES=all
39+
volumes:
40+
- .:/home/devuser/project
41+
- /tmp/.X11-unix:/tmp/.X11-unix
42+
- /dev:/dev
43+
shm_size: "2g"
44+
runtime: nvidia
45+
privileged: true
46+
network_mode: host
47+
cap_add:
48+
- SYS_NICE
49+
ulimits:
50+
rtprio: 99
51+
rttime: -1
52+
memlock:
53+
soft: 8428281856
54+
hard: 8428281856

0 commit comments

Comments
 (0)