-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
37 lines (35 loc) · 996 Bytes
/
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
version: '3'
services:
winesteam:
privileged: true
ipc: host
build:
context: .
args:
wine_tag: "wine-6.22"
gecko_tag: "2.47.2"
mono_tag: "7.0.0"
steam_user: "${STEAM_USER:-steam}"
steam_uid: "${STEAM_UID:-1001}"
image: eartiaga/winesteam
network_mode: bridge
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:ro
- /etc/localtime:/etc/localtime:ro
- /etc/machine-id:/etc/machine-id:ro
- $XDG_RUNTIME_DIR/pulse:/run/user/${STEAM_UID:-1001}/pulse
# Persistent directory for wine data
- ${WINE_DATADIR:-./data}:/home/${STEAM_USER:-steam}/data
devices:
- /dev/nvidia0
- /dev/nvidiactl
- /dev/nvidia-modeset
- /dev/dri
- /dev/snd
environment:
- DISPLAY=unix$DISPLAY
- PULSE_SERVER=unix:${XDG_RUNTIME_DIR:-/run/user/1001}/pulse/native
- WINE_BITS=${WINE_BITS:-64}
- STEAM_SKIP=${STEAM_SKIP:-no}
shm_size: 4G
# shm_size: 3584M