From 1ad5d3ac8ca5ada314d53a611c8b4d7badf978df Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Fri, 17 Apr 2026 18:07:33 +0100 Subject: add overlay option for custom file overrides --- entrypoint.bash | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'entrypoint.bash') diff --git a/entrypoint.bash b/entrypoint.bash index 3616629..c40fcd0 100644 --- a/entrypoint.bash +++ b/entrypoint.bash @@ -13,7 +13,13 @@ fi # install game server via steamcmd steamcmd +login "$STEAM_USERNAME" "$STEAM_PASSWORD" +force_install_dir /app +app_update 3930080 validate +quit -# handle configuration file changes +# apply overlay if it exists +if [ -d "/overlay" ]; then + echo "Applying overlay from /overlay to /app" + cp -r /overlay/* /app/ +fi + +# handle configuration file changes via environment variables CONFIG_FIELDS=( "ServerName" "MaxPlayers" -- cgit v1.2.3