Advertisement
07mekayel07

linux.io.steamOS

Apr 10th, 2025
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.32 KB | Source Code | 0 0
  1. ---
  2. services:
  3.   linux.io.steamos-headless:
  4.     image: lscr.io/linuxserver/steamos:latest
  5.     container_name: linux.io.steamos-headless
  6.     cap_add:
  7.      - NET_ADMIN
  8.     security_opt:
  9.      - seccomp:unconfined
  10.       - apparmor:unconfined #optional
  11.     environment:
  12.      - PUID=1000
  13.       - PGID=1000
  14.       - TZ=Asia/Dhaka
  15.       - DRINODE=/dev/dri/renderD128
  16. #      - HOST_IP=10.7.8.164 #optional
  17.       - STARTUP=KDE #optional
  18.       - RESOLUTION=1920x1080 #optional
  19.     volumes:
  20.      - ./config:/config
  21.       - /dev/:/dev/:rw
  22.       - /mnt/udev:/run/udev:rw
  23.       - /mnt/GAMES:/mnt/GAMES
  24.     network_mode: host
  25.     # ports:
  26.     #   - 3000:3000
  27.     #   - 3001:3001
  28.     #   - 27031-27036:27031-27036/udp #optional
  29.     #   - 27031-27036:27031-27036 #optional
  30.     #   - 47984-47990:47984-47990 #optional
  31.     #   - 48010-48010:48010-48010 #optional
  32.     #   - 47998-48000:47998-48000/udp #optional
  33.     devices:
  34.      - /dev/dri
  35.       - /dev/fuse
  36.       - /dev/uinput
  37.       - /dev/uhid
  38.     shm_size: "2G"
  39.     restart: unless-stopped
  40.     hostname: steamos-headless
  41. #     domainname: local
  42. #     mac_address: 12-a4-ab-3d-cd-3b
  43. #     networks:
  44. #       macvlan-docker:
  45. #         ipv4_address: 10.7.8.164
  46. # #### Network Defination ####  
  47. # networks:
  48. #   macvlan-docker:
  49. #     name: macvlan-docker
  50. #     external: True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement