From b3331dddbb730898db09a2cd3252b2f63f4699a4 Mon Sep 17 00:00:00 2001 From: Kai <31049574+kaiffeetasse@users.noreply.github.com> Date: Sun, 5 Sep 2021 16:24:10 +0200 Subject: [PATCH 1/2] add README --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..a56590d --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# Satisfactory Docker Server + +## Config + +1. Set the `TZ`-Environment variable in the `Dockerfile` to your local timezone (default `Europe/London`) +2. Copy your local `config.vdf` file (`/config/config.vdf`) in the `satisfactory-docker` directory +3. Get your steamguard key via email with `steamcmd +login ` + +## Build + +`docker build -t satisfactory: . --build-arg user= --build-arg password= --build-arg guard_code=` + +## Run + +`docker run -d -p 7777:7777 satisfactory:latest` From f8400d5a7a0e85bdef136efb2484a99d3f3d1978 Mon Sep 17 00:00:00 2001 From: kaiffeetasse Date: Sun, 5 Sep 2021 16:26:16 +0200 Subject: [PATCH 2/2] add timezone and password --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9dfd8c0..aa2a85b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ FROM steamcmd/steamcmd:latest +# change this to your timezone +ENV TZ=Europe/London +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + RUN apt update # todo: remove sound/graphics from install? # libglapi-mesa @@ -21,8 +25,9 @@ COPY config.vdf ./.steam/config/config.vdf # https://steamdb.info/app/526870/depots/?branch=experimental ARG user +ARG password -RUN steamcmd +@sSteamCmdForcePlatformType windows +login ${user} +download_depot 526870 526871 7399828939544997957 +quit +RUN steamcmd +@sSteamCmdForcePlatformType windows +login ${user} ${password} +download_depot 526870 526871 7399828939544997957 +quit WORKDIR /root/.steam/steamcmd/linux32/steamapps/content/app_526870/depot_526871/ # Start the game, get it to populate ini files