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

Added headers, Added license, Added docker example, Cleared trash

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-11 21:35:28 +01:00
parent 6eedc1ec21
commit 42bd1f76d9
78 changed files with 1455 additions and 203 deletions
+38
View File
@@ -0,0 +1,38 @@
# BakaShrot server, example compose file.
#
# Fill in server.ini next to this file first (a private key, topics, a
# client section: it's empty, the server refuses to start as it is), then,
# from this folder, with a login to the registry holding the PureBasic
# images (see the Dockerfile):
# docker compose up -d --build
# docker compose logs bakashrot # its public key, for client.ini
# docker compose down # stops it cleanly (SIGTERM)
#
# Console commands (names, vacuum, restart...): `docker attach bakashrot`,
# detach with Ctrl+P, Ctrl+Q (not Ctrl+C: that stops it).
#
# The database lives in the bakashrot-data volume, kept by `down`
# (`down -v` deletes it).
services:
bakashrot:
build:
# The repository's root: the build needs Commons/, Includes/, Server/.
context: ../..
dockerfile: Docker/Server/Dockerfile
image: bakashrot-server
container_name: bakashrot
restart: unless-stopped
ports:
# server.ini's [BakaShrot.Server] Port.
- "12345:12345"
volumes:
- ./server.ini:/etc/bakashrot/server.ini:ro
- bakashrot-data:/var/lib/bakashrot
# Only needed to type console commands with `docker attach bakashrot`.
# The server runs fine without these two lines.
stdin_open: true
tty: true
volumes:
bakashrot-data: