Update docker-compose.yml
This commit is contained in:
@@ -3,6 +3,14 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
steam-headless:
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: 1
|
||||
capabilities:
|
||||
- gpu
|
||||
image: josh5/steam-headless:latest
|
||||
env_file:
|
||||
- stack.env
|
||||
@@ -16,9 +24,6 @@ services:
|
||||
soft: 1024
|
||||
hard: 524288
|
||||
|
||||
# GPU PASSTHROUGH
|
||||
runtime: nvidia
|
||||
|
||||
# NETWORK:
|
||||
## NOTE: With this configuration, if we do not use the host network, then physical device input
|
||||
## is not possible and your USB connected controllers will not work in steam games.
|
||||
|
||||
Reference in New Issue
Block a user