Steam description : Automobilista 2 is all the racing simulators you ever wanted - in just one. An incredibly diverse collection of cars and tracks cohesively simulated, featuring incredible graphics and audio quality, dynamic weather and track conditions and the best VR support for a racing experience like no other.
Minimum RAM requirement of 512MB, with 1GB+ being recommended
Automobilista 2 required at least 2GiB.
Automobilista 2 requires three ports to run. Hostport is always the default Allocation Port!
Port | default |
---|---|
SteamPort | 8766 |
Hostport(Default Allocation Port) | 27015 |
queryPort | 27016 |
All Ports can be changed
Name | Tag |
---|---|
ghcr.io/ptero-eggs/yolks:wine_latest | ghcr.io/ptero-eggs/yolks:wine_latest |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
App ID | SRCDS_APPID | 1338040 | No | No | |
Auto Update | Decide if you want to update your server | AUTO_UPDATE | 1 | Yes | Yes |
Windows | WINDOWS_INSTALL | 1 | No | No | |
Wine Debug | WINEDEBUG | -all | No | No | |
Server Name | SERVER_NAME | Ptero Default | Yes | Yes | |
Query Port | QUERY_PORT | Yes | Yes | ||
Steam Port | STEAM_PORT | Yes | Yes | ||
Server Password | SERVER_PASSWORD | Yes | Yes | ||
Max Players | MAX_PLAYERS | 16 | Yes | Yes |
if [[ "${STEAM_USER}" == "" ]] || [[ "${STEAM_PASS}" == "" ]]; then
echo -e "steam user is not set.\n"
echo -e "Using anonymous user.\n"
STEAM_USER=anonymous
STEAM_PASS=""
STEAM_AUTH=""
else
echo -e "user set to ${STEAM_USER}"
fi
cd /tmp
mkdir -p /mnt/server/steamcmd
curl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
mkdir -p /mnt/server/steamapps # Fix steamcmd disk write error when this folder is missing
cd /mnt/server/steamcmd
chown -R root:root /mnt
export HOME=/mnt/server
## install game using steamcmd
./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6
## set up 32 bit libraries
mkdir -p /mnt/server/.steam/sdk32
cp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so
## set up 64 bit libraries
mkdir -p /mnt/server/.steam/sdk64
cp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so
cd $HOME
if [ ! -f "server.cfg" ] ; then
echo "Installing default config file"
cp config_sample/server_with_lists.cfg server.cfg
fi
## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"