Stabilize Sunshine app launch profiles and container isolation.

Update compose security settings and player app configs to improve Steam startup behavior, add desktop/manual launch entries for debugging, and align launch commands across all player profiles.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-27 13:36:01 +03:00
parent a214ff761b
commit 907d26af0b
6 changed files with 113 additions and 11 deletions

View File

@@ -5,7 +5,9 @@ x-game-template: &game-template
APT_PROXY: ${APT_PROXY:-}
user: "root"
restart: unless-stopped
privileged: true
security_opt:
- seccomp:unconfined
- apparmor:unconfined
ipc: shareable
environment:
NVIDIA_DRIVER_CAPABILITIES: all
@@ -44,7 +46,6 @@ services:
volumes:
- /DATA/AppData/game-server/players/p1_steam:/home/steam/.local/share/Steam
- /DATA/AppData/game-server/players/p1_config:/root/.config/sunshine
- /run/udev:/run/udev:ro
# Добавляем логирование для отладки
logging:
driver: "json-file"
@@ -68,7 +69,6 @@ services:
volumes:
- /DATA/AppData/game-server/players/p2_steam:/home/steam/.local/share/Steam
- /DATA/AppData/game-server/players/p2_config:/root/.config/sunshine
- /run/udev:/run/udev:ro
logging:
driver: "json-file"
options:
@@ -91,7 +91,6 @@ services:
volumes:
- /DATA/AppData/game-server/players/p3_steam:/home/steam/.local/share/Steam
- /DATA/AppData/game-server/players/p3_config:/root/.config/sunshine
- /run/udev:/run/udev:ro
logging:
driver: "json-file"
options:
@@ -114,7 +113,6 @@ services:
volumes:
- /DATA/AppData/game-server/players/p4_steam:/home/steam/.local/share/Steam
- /DATA/AppData/game-server/players/p4_config:/root/.config/sunshine
- /run/udev:/run/udev:ro
logging:
driver: "json-file"
options: