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