Web panel (like txAdmin) on the game port: login/roles/users, players, kick/ban/op, bans, live console, world reset/backups/restore, settings editor, save ZIP upload/download, start/stop/restart; in-process restart loop; tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -8,7 +8,8 @@ WORKDIR /src
|
||||
COPY . .
|
||||
RUN dotnet publish -c Release -o /app
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/runtime:10.0
|
||||
# aspnet: enthält Kestrel für das Web-Panel
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:10.0
|
||||
WORKDIR /app
|
||||
COPY --from=build /app .
|
||||
ENV MSCO_DATA=/data
|
||||
@@ -17,6 +18,7 @@ ENV HOME=/tmp
|
||||
# Befehle an den laufenden Server: docker exec msco-server msco players
|
||||
RUN printf '#!/bin/sh\nexec dotnet /app/MSCO.Server.dll --cmd "$@"\n' > /usr/local/bin/msco && chmod +x /usr/local/bin/msco
|
||||
VOLUME /data
|
||||
# Spiel UND Web-Panel (Browser werden am selben Port erkannt)
|
||||
EXPOSE 7777/tcp
|
||||
# docker stop schickt SIGTERM -> Server speichert den Weltzustand
|
||||
STOPSIGNAL SIGTERM
|
||||
|
||||
Reference in New Issue
Block a user