Update compose files with env change made to Dockerfile

This commit is contained in:
Josh.5
2022-10-04 09:39:56 +13:00
committed by Josh Sunnex
parent 4441b79b1e
commit db070cce96
2 changed files with 10 additions and 4 deletions

View File

@@ -30,11 +30,17 @@ UMASK='000'
USER_PASSWORD='password'
# System config
HOSTNAME='SteamHeadless'
NAME='SteamHeadless'
TZ='Pacific/Auckland'
USER_LOCALES='en_US.UTF-8 UTF-8'
DISPLAY=':55'
SHM_SIZE='2G'
## PORT_NOVNC_WEB:
## Description: Configure the port to use for the WebUI.
PORT_NOVNC_WEB='8083'
## NEKO_NAT1TO1:
## Description: Configure nat1to1 for the neko WebUI if it is enabled by setting 'WEB_UI_MODE' to 'neko'. This will need to be the IP address of the host.
NEKO_NAT1TO1=''
# Nvidia specific config (not required for non Nvidia GPUs)
NVIDIA_DRIVER_CAPABILITIES='all'

View File

@@ -16,9 +16,9 @@ services:
# NETWORK:
## NOTE: Steam headless always required the use of the host network
network_mode: host
hostname: ${HOSTNAME}
hostname: ${NAME}
extra_hosts:
- "${HOSTNAME}:127.0.0.1"
- "${NAME}:127.0.0.1"
# ENVIRONMENT:
## Read all config variables from the .env file
@@ -29,7 +29,7 @@ services:
# The location of your home directory.
- /opt/container-data/steam-headless/home/:/home/default/:rw
# The location where all games should be installed.
- /mnt/Games/:/mnt/games/:rw
- /mnt/games/:/mnt/games/:rw
# Input devices used for mouse and joypad support inside the container.
- /dev/input/:/dev/input/:ro
# The Xorg socket. This will be shared with other containers so they can access the X server.