add option to enable rcon

This commit is contained in:
Thijs van Loef
2024-01-22 19:12:41 +01:00
parent 5b75011cd2
commit bf3903f8a0
4 changed files with 73 additions and 8 deletions

View File

@@ -18,7 +18,9 @@ ENV PORT= \
SERVER_PASSWORD= \
SERVER_NAME= \
ADMIN_PASSWORD= \
UPDATE_ON_BOOT=true
UPDATE_ON_BOOT=true \
RCON_ENABLED=true \
RCON_PORT=25575
COPY ./scripts/* /home/steam/server/
RUN chmod +x /home/steam/server/init.sh /home/steam/server/start.sh