Add ADMIN_PASSWORD env variable

# Motivations
Being able to configure the admin password would be quite helpful

# Modifications
- Add `ADMIN_PASSWORD` to the list of environment variables, which adds `--adminpassword` to the server arguments
This commit is contained in:
Twinki
2024-01-19 16:05:51 -05:00
parent a6e0431576
commit 15b5c6881d
5 changed files with 12 additions and 3 deletions

View File

@@ -6,7 +6,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ENV PORT=8211 \
PLAYERS=16 \
MULTITHREADING=false \
@@ -15,6 +14,7 @@ ENV PORT=8211 \
PUBLIC_PORT= \
SERVER_PASSWORD= \
SERVER_NAME= \
ADMIN_PASSWORLD= \
UPDATE_ON_BOOT=true
COPY ./scripts/* /home/steam/server/