Update docker-compose.yml

This commit is contained in:
2025-10-16 12:33:10 -04:00
parent 0124b8ce4b
commit 7394f25379

View File

@@ -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.