-
-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
32 lines (32 loc) · 913 Bytes
/
docker-compose.yaml
File metadata and controls
32 lines (32 loc) · 913 Bytes
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
services:
lnxlink:
image: bkbillybk/lnxlink:latest
container_name: lnxlink
restart: unless-stopped
network_mode: host
privileged: true
stdin_open: true
tty: true
user: "1000:1000" # UID:GID
ports:
- 8112:8112
volumes:
- ~/Documents/LNXlink/:/opt/lnxlink/config/
- ~/.local/share/Steam/:/.local/share/Steam/
- /var/run/reboot-required:/var/run/reboot-required:ro
- /var/run/docker.sock:/var/run/docker.sock
- /var/run/user/1000/bus:/var/run/user/1000/bus
- /var/run/dbus/:/var/run/dbus/
- /tmp/.X11-unix:/tmp/.X11-unix
- /proc/:/proc/
- /dev/:/dev/
environment:
- DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
- DISPLAY=$DISPLAY
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]