1
0
mirror of https://github.com/aziascreations/BakaShrot.git synced 2026-11-23 20:58:46 +01:00

Run the server headless on Linux, add Docker images for it

The server no longer stops when it has no console input on Linux: it
reads its own dup of stdin (taken before OpenConsole(), which closes
fd 0; Input() returns "" at EOF there), and SIGTERM/SIGINT stop it like
"quit". Windows is unchanged.

Docker/Compiler: PureBasic 6.41 on debian:trixie-slim (the archive is
copied in by hand and git-ignored). Docker/Server: multi-stage, built
with the C backend and the optimizer, run on debian:trixie-slim with
libsodium and SQLite only, as user bakashrot; config
/etc/bakashrot/server.ini, volume /var/lib/bakashrot, port 12345.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RwFeVQCBfcPDfAPqX8z2TF
This commit is contained in:
2026-11-10 19:04:03 +01:00
parent 5270f25ac1
commit 3d960bfa95
9 changed files with 293 additions and 22 deletions
+8
View File
@@ -0,0 +1,8 @@
# Only what the server is compiled from: Build/ alone can hold gigabytes of
# test databases, and private keys.
*
!Client/BakaShrot_ErrorCodes.pbi
!Commons
!Includes
!Server
**/.git